Sirenia docker image testing - Errors when deleting an Admin Set which contains no works
Descriptive summary
This error occurred when testing the use case in AS_1.13 of the Hyrax testing worksheet. While logged in as admin user in the docker environment, I receive a series of errors when trying to delete an empty Admin Set which I created.
Steps to reproduce the behavior in User Interface (UI)
- Login as an Admin user
- Create an Admin Set and do not deposit any works into it
- Go back to the Dashboard, locate the Admin Set, and then select Delete from the Actions menu
- See the normal deletion warning popup menu
- Click Delete
- See "ldp gone" error in the same popup window
- Close the popup
- Go back to the Dashboard list and try to open the Admin Set
- See additional Hyrax::ObjectNotFoundError in Hyrax::Admin::AdminSetsController#show error
Actual behavior (include screenshots if available)
Include what version of Hyrax relates to this issue (3.x, 4.x, main branch, etc.) if appropriate, and any relevant error messages/tracebacks if you're reporting a bug.
Initial error shown after clicking Delete button
Additional error when trying to view the Admin Set (which still appears in the Collections list)
Acceptance Criteria/Expected Behavior
- [ ] Standard Hyrax behavior should occur after clicking the Delete button
- [ ] The Admin Set should no longer be listed in the Collections menu
Rationale (for feature request only)
Provide the rationale or user story that describes "why" this issue should be addressed. Especially if this is a new feature or significant change to the existing implementation.
Sirenia/Valkyrie should allow Admin Users the ability to successfully delete an Admin Set with no works deposited.
Related work
Link to related issues or prior related work here.