Uploaded image for project: 'stripes-smart-components'
  1. stripes-smart-components
  2. STSMACOM-165

Controlled Vocab CRUD: When Record Name Isn't Unique, There Is No User Messaging (But Save Is Prevented)

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      EPAM-Veg Sprint 18, EPAM-Veg Sprint 19, EPAM-Veg Sprint 23, EPAM-Veg Sprint 24, EPAM-Veg Sprint 25, EPAM-Veg Sprint 26
    • Story Points:
      3
    • Development Team:
      Vega

      Description

      Overview: When a duplicate term is entered in controlled vocab CRUD component in Settings, the addition silently fails. It's good that it fails, but there should be some messaging that it failed because it was not unique. This applies in e.g. Settings > Inventory > Holdings, Holdings type, and Settings > Inventory > Instance, Holdings, Item > Call number type and more (basically everywhere this component is used in both Inventory and User settings.

      Steps to Reproduce:

      1. Log into http://folio-snapshot.aws.indexdata.com as diku_admin
      2. Go to Settings > Inventory > Holdings, Holdings type, and Settings > Inventory > Instance, Holdings, Item > Call number type and more (basically anywhere the controlled vocab CRUD component is used in both Inventory and User settings.
      3. Create a new term with the same Name as an existing term

      Expected Results:

      1. The system displays the following information: "<<field label>> already exists." in red and below field with the duplicate value.
      2. Do not display a horizontal scrollbar
      3. And backend error message "Error:Error on saving data" should not display.

      Actual Results: New term can't be saved (which is fine), but no message is generated by the system.
      OR if you go to Loan types then a horizontal scrollbar displays and error message displays out of view. See screenshot.

      Verify
      Ensure that this work applies to all fields that does not allow duplicates in the following Settings areas:
      – Users
      – Inventory
      – Circulation
      – Tenant > Location setup > Institution

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Oleksandr_Antonenko Oleksandr
                Reporter:
                cboerema Cate Boerema
                Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases