You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In valkyrie/fedora, deleting a work results in a tombstone error
Steps to reproduce the behavior in User Interface (UI)
Load sirenia (See https://github.com/samvera/hyrax/pull/6331)
Create a work
Delete the work
Actual behavior (include screenshots if available)
resp.tap do |resp|
unless resp.status < 400
raise case resp.status
when 400
if resp.env.method == :head
# If the request was a HEAD request (which only retrieves HTTP headers),
Descriptive summary
In valkyrie/fedora, deleting a work results in a tombstone error
Steps to reproduce the behavior in User Interface (UI)
Actual behavior (include screenshots if available)
Rails.root: /app/samvera/hyrax-webapp
Application Trace | Framework Trace | Full Trace
ldp (1.2.0) lib/ldp/client/methods.rb:119:in
block in check_for_errors' <internal:kernel>:90:in
tap'ldp (1.2.0) lib/ldp/client/methods.rb:117:in
check_for_errors' ldp (1.2.0) lib/ldp/client/methods.rb:53:in
block in get'activesupport (6.1.7.6) lib/active_support/notifications.rb:205:in
instrument' ldp (1.2.0) lib/ldp.rb:43:in
instrument'ldp (1.2.0) lib/ldp/client/methods.rb:33:in
get' valkyrie (3.1.1) lib/valkyrie/persistence/fedora/query_service.rb:108:in
content_with_inbound'valkyrie (3.1.1) lib/valkyrie/persistence/fedora/query_service.rb:42:in
find_parents' /app/samvera/hyrax-engine/app/services/hyrax/listeners/member_cleanup_listener.rb:19:in
on_object_deleted'dry-events (1.0.1) lib/dry/events/bus.rb:46:in
call' dry-events (1.0.1) lib/dry/events/bus.rb:46:in
block in publish'dry-events (1.0.1) lib/dry/events/bus.rb:38:in
block in process' dry-events (1.0.1) lib/dry/events/bus.rb:34:in
each'dry-events (1.0.1) lib/dry/events/bus.rb:34:in
process' dry-events (1.0.1) lib/dry/events/bus.rb:45:in
publish'dry-events (1.0.1) lib/dry/events/publisher.rb:207:in
publish' /app/samvera/hyrax-engine/lib/hyrax/transactions/steps/delete_resource.rb:45:in
publish_changes'/app/samvera/hyrax-engine/lib/hyrax/transactions/steps/delete_resource.rb:31:in
call' /app/samvera/hyrax-engine/lib/hyrax/transactions/transaction.rb:99:in
block in call'/app/samvera/hyrax-engine/lib/hyrax/transactions/transaction.rb:97:in
each' /app/samvera/hyrax-engine/lib/hyrax/transactions/transaction.rb:97:in
inject'/app/samvera/hyrax-engine/lib/hyrax/transactions/transaction.rb:97:in
call' dry-monads (1.6.0) lib/dry/monads/do.rb:131:in
block in call'dry-monads (1.6.0) lib/dry/monads/do/mixin.rb:40:in
call' dry-monads (1.6.0) lib/dry/monads/do.rb:131:in
call'/app/samvera/hyrax-engine/app/controllers/concerns/hyrax/works_controller_behavior.rb:119:in
destroy' actionpack (6.1.7.6) lib/action_controller/metal/basic_implicit_render.rb:6:in
send_action'actionpack (6.1.7.6) lib/abstract_controller/base.rb:228:in
process_action' actionpack (6.1.7.6) lib/action_controller/metal/rendering.rb:30:in
process_action'actionpack (6.1.7.6) lib/abstract_controller/callbacks.rb:42:in
block in process_action' activesupport (6.1.7.6) lib/active_support/callbacks.rb:117:in
block in run_callbacks'actiontext (6.1.7.6) lib/action_text/rendering.rb:20:in `with_renderer'
Acceptance Criteria/Expected Behavior
Related work
#6336
The text was updated successfully, but these errors were encountered: