-
Notifications
You must be signed in to change notification settings - Fork 124
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
Valkyrie: Hyrax::AdministrativeSet fails to delete fully #5407
Comments
looks like this behavior should get added to the |
Unable to fully test locally using koppie since I'm not sure how to access the Postgres datastore. I can see Solr and was able to create the admin set, query for it in Solr, delete the admin set, and then verify that Solr no longer has a record for the admin set. The UI looks like everything works as it should but I can't verify that the admin set and its access control are removed from the datastore. |
@rjkati Not able to verify this issue either. |
SoftServ verified. |
Descriptive summary
When an admin set is created as a Hyrax::AdminstrativeSet and later deleted, it goes through the process without error, but fails to fully delete.
Rationale
Deleting admin sets should work whether the admin set is an Active Fedora admin set or a Valkyrie admin set.
Expected behavior
Deleting an admin set fully deletes the admin set and its access control from the data store and solr.
Actual behavior
Deleting an admin set deletes the admin set from the datastore, but fails to delete it from solr and fails to delete its access control from the datastore.
Steps to reproduce the behavior
Prerequisites:
Configure Hyrax:
/config/initializers/hyrax.rb
and set:hyrax-development
andhyrax-valkyrie-dev
solr cores are running . Your core names may vary depending on how you start them and how they are configured in the app.NOTE: For testing of nurax-pg, the solr core is typically named nurax-pg.
Create Admin Set
Verify that the admin set was created in both solr cores with
q
:title_tesim:DELETE ME
(or similar query).Verify that the admin set and it access control were created in the datastore.
To reproduce:
Verify that the admin set was deleted from both solr cores with
q
:title_tesim:DELETE ME
(or similar query).Verify that the admin set and it's access control were created in the datastore.
Related work
See related issues in Issue #5326 UBER: Hyrax-Valkyrization MVP
See Issue #5331 describing the same issue for Hyrax::PcdmCollection
The text was updated successfully, but these errors were encountered: