Uploaded image for project: 'ui-inventory'
  1. ui-inventory
  2. UIIN-335

Item record. Delete (only) - first phase

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      Core: F - Sprint 60
    • Story Points:
      8
    • Development Team:
      Prokopovych

      Description

      Purpose: Implementing the paneheader action menu component, and work on deletion of an item record

      As a cataloger I want to be able to delete any given item record. Deletion is only possible, if there is no dependencies, e.g. like the item is being checked out, or there is a open request.

      Scenarios:

      1. Scenario
        • Go to FOLIO snapshot stable http://folio-snapshot-stable.aws.indexdata.com/ and click on Inventory
        • Given any instance record with associated holdings and item records
        • When viewing the item record which is to be deleted
        • Then an arrow down next to the Pane header barcode and item status information is shown - see wireframe
      2. Scenario
        • when clicking on the arrow
        • then a drop-down actions menu should display as shown in wireframe
        • the action menu items are listed as shown in the wireframe (see above)
        • Following actions will be in scope of this story:
          • Delete
      3. Scenario
        • Given a "Delete" option in the actions drop-down
        • When clicked
        • Then a 'Confirm delete item' modal should appear as shown in wireframe (see scenario X and Y)
        • NOTE: Similar feature is implemented in The Cancel Request modal.
      4. Scenario
        • Given the 'Confirm delete item' modal
        • When displayed and
          • if no dependencies are associated with other apps, e.g. the Item is being available, or there is no open request in the Request app, or there is no dependencies with the Order app, e.g. On order, then cataloger gets following message
          • "Item HRID [*the given Item HRID] with barcode [*the given barcode*] has no dependencies and will be deleted.
        • And then the cataloger can decide to go Back ('Cancel' button) or confirm ('Delete' button) the deletion.
        1. Scenario
        • Given the 'Confirm delete item' modal
        • When displayed and
          • there exist dependencies with other apps, e.g. the Item is being checked out, or there is open request(s) in the Request app, or there is a dependency with the Order app, e.g. On order,
          • then cataloger gets following message
          • "Item HRID [*the given Item HRID] with barcode [*the given barcode*] has existing dependencies and can not be deleted.
        • And then the cataloger can only back ('Cancel' button).
          -
      5. Scenario
        • Given a click on the back 'Cancel' button
        • Then the action is terminated
        • The cataloger gets back to the detailed view of the given item record
      6. Scenario
        • Given a confirm 'Delete' button on the 'Confirm delete item' modal
        • When clicked
        • Then the delete action is performed
        • The item record is being deleted
      7. Scenario
        • Given a back '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

      Notes:

      1. Following dependencies is to be examined for Q2 2019 or Q3 2019:
      2. Check out app
      3. Request app
      4. Order app
      5. A comprehensive list of all future dependencies is to be defined, and check for these to be implemented when these dependencies exist.
      6. In a later phase, will be implemented for catalogers with special permission to perform deletion - also in cases with associated item records
      7. 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:

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                nielserik Niels Erik Gilvad Nielsen
                Reporter:
                charlotte Charlotte Whitt
                Tester Assignee:
                Charlotte Whitt Charlotte Whitt
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases