Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
customfield_11100 25364
-
Core: F - Sprint 60, Core: F - Sprint 61, Core: F - Sprint 64, Core: F - Sprint 65
-
8
-
Prokopovych
Description
Purpose: Continued work on deletion of a holdings record
As a cataloger I want to be able to delete any given holdings record, but I'd need to have a check on dependencies. This story is about check on dependencies within inventory; when having item records associated with a holdings record.
Scenarios:
- Scenario
- Go to FOLIO snapshot stable http://folio-snapshot-stable.aws.indexdata.com/ and click on Inventory
- Given any instance record with associated holdings records with item records associated
- When viewing the holdings record which is to be deleted
- Then an arrow down next to the Pane header title is shown
- When clicking on the arrow
- Then a drop-down actions menu with Delete will show
- Scenario
- Given a "Delete" holdings option in the actions drop-down
- When clicked the 'Confirm delete holdings' modal
- When displayed and there are one or more item records associated with the holdings record, then the cataloger gets following message
- Then if one item record
- "[*the given Holdings HRID*] with location [*the given location*] has one item record associated. To be able to continue deletion of this holdings record, then the associated item record must be deleted"
- And the cataloger will not be able to perform the the delete action, before the associated item record is deleted.
- if more than one item record
- "[*the given Holdings HRID] with location [*the given location*] has [*number*] item records associated. To be able to continue deletion of this holdings record, then all associated item records must be deleted"
- And the cataloger will not be able to perform the the delete action, before the associated item records are deleted.
- at the bottom of the modal is a button 'Cancel'
- Scenario
- Given a "Cancel" button on the delete record modal
- When clicked
- Then the Delete record modal will close and the deletion will be cancelled
- And the cataloger get back to detailed view of the holdings record
Note:
- Other actions, as Edit of the holdings record, and Copy of the holdings record are not in scope of this story - see:
STCOM-353. - Following dependencies is to be examined for Q2 2019:
- Check out app
- Request app
- Order app
- A comprehensive list of all future dependencies is to be defined, and check for these to be implemented when these dependencies exist.
- In a later phase, will be implemented for catalogers with special permission to perform deletion - also in cases with associated item records
- In a later phase a 'waste basket' will be implemented, for catalogers to regret the performed deletion, and pull the record back into the collection
The action menu will be updated according to UX consistency fixes - see UIIN-524.
TestRail: Results
Attachments
Issue Links
- clones
-
UIIN-334 Holdings record. Delete (only) - first phase
-
- Closed
-
- relates to
-
UIIN-527 Fix/complete testing of modals in Inventory (delete confirmation modals etc)
-
- Closed
-
-
UXPROD-1458 Deletion. Implement action menu in top navigation bar. Enable the user to delete a metadata record (Instance, Holdings, Item)
-
- Closed
-