hyrax icon indicating copy to clipboard operation
hyrax copied to clipboard

BUG: FileSets created in a Hyrax v5.x/Fedora v6.5/Valkyrie v3.3/Pair-Tree'ed application lacks proxyFor attribute

Open bwatson78 opened this issue 1 year ago • 2 comments

Descriptive summary

BUG: FileSets created in a Hyrax v5.x/Fedora v6.5/Valkyrie v3.3/Pair-Tree'ed application lacks proxyFor attribute

Steps to reproduce the behavior in User Interface (UI)

  1. Start a Docker instance of Sirenia
  2. Log in as a user capable of creating a work object
  3. Venture to Dashboard, click on Works, and then Add a new Work
  4. Fill in all required fields and attach at least one file to create a FileSet
  5. Save the work and wait for that object's show page to load with the FileSet showing at the bottom.
  6. Click that FileSet filename and, once that object's show page loads, click Edit this FileSet.
  7. Observe the following error: Screenshot_20240715_154316

Acceptance Criteria/Expected Behavior

  • [ ] The FileSet edit form loads as expected.
  • [ ] The query Hyrax.query_service.find_parents(resource: file_set) (tied to Valkyrie::Persistence::Fedora::QueryService#find_parents) with a console variable of file_set set with the pulled FileSet object should return the Work object within an array.

Related work

https://github.com/samvera/hyrax/pull/6804

bwatson78 avatar Jul 15 '24 20:07 bwatson78

I'm able to replicate this locally with sirenia running Hyrax 5.0.1

rjkati avatar Aug 05 '24 18:08 rjkati

While re-testing Sirenia in the Sept 2024 maintenance sprint, this no longer is occurring (at least the UI components).

eporter23 avatar Sep 13 '24 18:09 eporter23