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
When creating works in Sirenia which have files attached, I receive an ObjectNotFoundError message on save. I do not receive this message if I deposit a work without a file.
Steps to reproduce the behavior in User Interface (UI)
Log into a local build running Sirenia
Navigate to Dashboard -> Works -> Add New Work
Select a work type. It does not seem to matter which you choose.
Fill out the required fields and add a file
Check the Deposit Agreement and click Save
Observe error message.
Note that if you reload the page after seeing the error message, the work and files will display. If you selected a visibility other than Private in Step 4 or 5, only the work will reflect the selected visibility and the files will be private which may be related to #6863
If you follow the steps above but do not add a file, the error message will not display.
Actual behavior (include screenshots if available)
Saving a new work with a file attached generates an ObjectNotFoundError.
Acceptance Criteria/Expected Behavior
Saving a new work with a file attached should not generate an error and the work and fileset should be available with the selected visibility settings.
This works while running the hyrax-fedora-fix branch locally. I can deposit both a PDF and image work without seeing an error message and derivatives generate as expected.
Descriptive summary
When creating works in Sirenia which have files attached, I receive an ObjectNotFoundError message on save. I do not receive this message if I deposit a work without a file.
Steps to reproduce the behavior in User Interface (UI)
Note that if you reload the page after seeing the error message, the work and files will display. If you selected a visibility other than
Private
in Step 4 or 5, only the work will reflect the selected visibility and the files will be private which may be related to #6863If you follow the steps above but do not add a file, the error message will not display.
Actual behavior (include screenshots if available)
Saving a new work with a file attached generates an ObjectNotFoundError.
Acceptance Criteria/Expected Behavior
Saving a new work with a file attached should not generate an error and the work and fileset should be available with the selected visibility settings.
Related work
#6863
The text was updated successfully, but these errors were encountered: