Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In valkyrie/fedora, deleting a work results in a tombstone error #6740

Open
1 task
bwatson78 opened this issue Mar 18, 2024 · 0 comments
Open
1 task

In valkyrie/fedora, deleting a work results in a tombstone error #6740

bwatson78 opened this issue Mar 18, 2024 · 0 comments
Labels
bug notes-valkyrie Release Notes: Valkyrie specific valkyrie-fedora

Comments

@bwatson78
Copy link
Contributor

Descriptive summary

In valkyrie/fedora, deleting a work results in a tombstone error

Steps to reproduce the behavior in User Interface (UI)

  1. Load sirenia (See https://github.com/samvera/hyrax/pull/6331)
    
  2. Create a work
    
  3. Delete the work
    

Actual behavior (include screenshots if available)

Screenshot_20240318_094907

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),

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

  • Deleting a work succeeds without errors

Related work

#6336

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug notes-valkyrie Release Notes: Valkyrie specific valkyrie-fedora
Projects
Status: Test and Confirm Issue
Development

No branches or pull requests

1 participant