[ ] Deleting a collection completes normally and leaves no stray objects
[ ] Deleting a work completes normally and leaves no stray objects (file set(s) are also deleted)
[ ] Deleting a file set completes normally and leaves no stray objects
Testing Instructions
Delete a collection. It completes normally.
Delete a work. It completes normally
Open a work.
In another tab, open its file set using the 'xxxx/file_sets/:id' route rather than the 'xxxx/concern/parent/:work_id/file_sets/:id' route
Delete the work from that tab
Refresh the file set tab.
See that the file set returns a not found error
Delete a file set. It completes normally
Note
Verifying that all objects are removed along with the work or file set is a bit more complicated. It can be done via the rails console if desired using the following commands:
Summary
Acceptance Criteria
Testing Instructions
Note
Verifying that all objects are removed along with the work or file set is a bit more complicated. It can be done via the rails console if desired using the following commands: