Uploaded image for project: 'ui-tenant-settings'
  1. ui-tenant-settings
  2. UITEN-37

Location: Creating Location with Duplicate Name Results in Ugly Error

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      Core: F - Sprint 87
    • Story Points:
      3
    • Development Team:
      Prokopovych

      Description

      Steps to Reproduce:

      1. Log into http://folio-snapshot.aws.indexdata.com as diku_admin
      2. Go to Settings > Tenant > Locations
      3. Create a new location with the same name as an existing location (I used Annex)
      4. Note there is a red validation message under the name field stating that the "Location name must be unique" (this is good)
      5. Populate all other required fields
      6. Attempt save of the new location (click "create location" button)

      Expected Results: When location name is not unique,
      1. Save should be prevented and no ugly error should display (server error shouldn't be needed here because there is the red validation error displaying under the field)
      2. The red validation error should continue to display until a unique location name is entered

      Actual Results:
      1. Ugly server error displays on Save attempt
      2. Closing out of the error and returning to the page causes the red validation error to disappear AND the primary service point selection clears out (sometimes)
      3. Moving focus out of the Name field sometimes causes the red validation error to disappear when name is still not unique

      Screenshot:

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mpk35 Michal Kuklis
                Reporter:
                cboerema Cate Boerema
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases