Closed ShanaLMoore closed 7 months ago
We noticed that when we created a work with a slug, then tried to batch delete it, all works but ones with slugs would successfully be deleted.
Create two generic work types. 1 should have a slug by filling in aark_id, one should not.
Go to the works index page, click both check boxes and the red delete button (which should batch delete all the works that have been checked).
Notice that all of the works successfully get deleted but the ones that have a slug.
Note: The work itself gets deleted, but the solr document does not.
On the catalog view:
Both works should be gone
Blocked by
DEMO: https://share.zight.com/9Zu4QDAL
Summary
We noticed that when we created a work with a slug, then tried to batch delete it, all works but ones with slugs would successfully be deleted.
Acceptance Criteria
Create two generic work types. 1 should have a slug by filling in aark_id, one should not.
Go to the works index page, click both check boxes and the red delete button (which should batch delete all the works that have been checked).
Notice that all of the works successfully get deleted but the ones that have a slug.
Note: The work itself gets deleted, but the solr document does not.
Testing instructions
On the catalog view:
Both works should be gone