Uploaded image for project: 'ui-plugin-create-inventory-records'
  1. ui-plugin-create-inventory-records
  2. UIPCIR-24

Fast add template. The generic error message is not useful for a user, when creation is failing caused by non unique barcode

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • None
    • Prokopovych - Sprint 116, Prokopovych - Sprint 117
    • 3
    • Prokopovych
    • R2 2021 Bugfix
    • Duke

    Description

      Overview: When using the Fast add template in Inventory, Check out or Courses, then the circulation staff can risk to enter a barcode which are in use on a different item (and therefore not an unique barcode, as required by the system). In this situation the fast add template creates an instance and holding, but not the item. The system should pass an error message explaining, why the item was not created, and what the user should do to fix it.

      Steps to Reproduce:

      1. Log into FOLIO Snapshot as User Diku_Admin
      2. Go to Check out/Inventory/Couses and click the Actions bottom
      3. Select New fast add record
      4. Fill in the Fast add template
      5. In the Item accordion, then add an existing barcode, e.g. 10101
      6. Click 'Save and close'

      Expected Results:
      The fast add record is not saved. Instead there should be the exact same behavior as when adding an item record, with a non unique Item barcode. That means a clear indication, that this data is causing an error - so a red frame around the entry box with the exclamation mark icon - and right under the item barcode entry box then displaying in red text following error message:
      "This barcode has already been taken".

      Similar as this has been implemented, when creating an item barcode, and using a non unique barcode:

      Actual Results:
      The error message says: "Saving Inventory records fails", and does not state, why creation of the given fast add records (instance, holdings, item) is failing.

      Additional Information:
      URL:
      Interested parties: enettifee provided this video from the Honeysuckle environment
      2021-06-03_15-22-44.mp4

      TestRail: Results

        Attachments

          1. 2021-06-03_15-22-44.mp4
            4.28 MB
            Charlotte Whitt
          2. Screenshot 2021-07-02 at 13.48.07.png
            337 kB
            Charlotte Whitt
          3. Screenshot 2021-07-02 at 13.48.42.png
            374 kB
            Charlotte Whitt
          4. Skärmavbild 2021-06-03 kl. 21.55.45.png
            934 kB
            Charlotte Whitt
          5. Skärmavbild 2021-06-03 kl. 21.57.49.png
            360 kB
            Charlotte Whitt
          6. Skärmavbild 2021-06-03 kl. 21.58.08.png
            14 kB
            Charlotte Whitt

          Activity

            People

              mpk35 Michal Kuklis
              charlotte Charlotte Whitt
              Charlotte Whitt Charlotte Whitt
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases