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

Sirenia docker image testing - Errors when deleting an Admin Set which contains no works #6534

Open
2 tasks
eporter23 opened this issue Dec 12, 2023 · 0 comments

Comments

@eporter23
Copy link
Contributor

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)

  1. Login as an Admin user
  2. Create an Admin Set and do not deposit any works into it
  3. Go back to the Dashboard, locate the Admin Set, and then select Delete from the Actions menu
  4. See the normal deletion warning popup menu
  5. Click Delete
  6. See "ldp gone" error in the same popup window
  7. Close the popup
  8. Go back to the Dashboard list and try to open the Admin Set
  9. 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

Screen Shot 2023-12-12 at 10 10 09 AM

Additional error when trying to view the Admin Set (which still appears in the Collections list)

Screen Shot 2023-12-12 at 10 18 44 AM

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Test and Confirm Issue
Development

No branches or pull requests

1 participant