Details
-
Story
-
Status: Open (View Workflow)
-
P4
-
Resolution: Unresolved
-
None
-
None
-
-
Prokopovych
Description
Purpose: First story for instance record deletion. I discussed how to phase the work on deletion with marcjohnson and he suggested the first story focus on deletion while checking dependencies within Inventory only. So the stories will be broken down something like this:
- Delete instance checking dependencies within Inventory
- Handle instance deletion when there is an associated PO line item
- Handle instance deletion when there is an underlying MARC record
- Etc
User story:
As a cataloger I want to be able to delete any given instance record. Deletion is only possible, if there is no holdings records associated with the instance record
Scenarios:
- Scenario
- Given the pane header dropdown on the Instance record (view and edit modes)
- When opened
- Then "Delete" should be added to the list in alphabetical order with other options (with trash can icon)
- Scenario
- Given an instance record with no holdings
- When deletion is attempted
- Then a 'Confirm deletion of instance' modal should appear
- Scenario
- Given click on the 'Cancel' button
- Then the delete action is terminated
- The cataloger returns to instance record
- Scenario
- Given a 'Delete" button
- When clicked
- Then the delete action is performed
- The instance record is deleted
- Scenario
- Given an instance with holdings (regardless of whether there are items or no items)
- When delete is attempted
- Then:
- Deletion is prevented
- "Confirm deletion of instance record" modal should display
- If one holdings record, the modal should display:
- [*The given instance title*] has one holdings record associated. To be able to continue deletion of this instance record, then the associated holdings record must be deleted"
- if more than one holdings record, the modal should display:
- [*The given instance title*] has [*number*] holdings records associated. To be able to continue deletion of this instance record, then all associated holdings records must be deleted"
- At the bottom of the modal, is a button 'Cancel' which closes the modal and returns user to instance record
- Should look similar to the analogous modal shown when deleting a holding record
Note:
- Other actions, as adding Edit, Duplicate etc. is not in scope of this story - see:
STCOM-353. - Following dependencies is to be examined:
- 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
Documents:
- List of usecases gathered by the MM-SIG (10/18/2018) : https://docs.google.com/spreadsheets/d/1XkHDYCfY5Xl7rpcP_MIg5ZAkQrbBfpsQ4rtNTEWSrdE/edit#gid=0
TestRail: Results
Attachments
Issue Links
- blocks
-
CHAL-130 Delete instance in UI
-
- Blocked
-
-
UIIN-704 Permissions - Inventory. Instance delete
-
- Blocked
-
- defines
-
UXPROD-1624 Deletion. Implement action menu in top navigation bar. Enable the user to delete an Instance
-
- Blocked
-
- has to be done before
-
UIIN-919 Instance record. Delete. Check on dependencies (second phase) - DRAFT
-
- Draft
-
- is cloned by
-
UIIN-975 Delete instance: check for instance relationships
-
- Open
-
- relates to
-
STCOM-353 Inventory: Implement Pane header dropdown on Instance and Holdings Detail Records
-
- Closed
-
-
STCOM-374 Requests: Implement Pane header dropdown on Detail Records
-
- Closed
-
-
STCOM-396 Inventory: Implement Pane header dropdown on Items Detail Record
-
- Closed
-
-
UIU-754 Users App: Implement Pane header dropdown on Detail Records
-
- Closed
-