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

Warn with yellow toast when result of Data Import is unknown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.0.2
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Development Team:
      Thor
    • Release:
      R1 2021 Hot Fix #1
    • Hot Fix Approved by Cap Planning?:
      Yes
    • Hot Fix Approval Comments:
      CW's note: Discussed at the Weekly FOLIO Update meeting on 5/20/2021 - and was approved by Mark Veksler, Mike Gorrell and more

      Description

      When importing a record by posting to copycat/imports (mod-copycat), there are three categories of response:

      1. 200 OK with an internalIdentifier in the response
      2. 200 OK without an internalIdentifier
      3. Any other HTTP code.

      The meanings of these responses are:

      1. New record successfully important, and its UUID is known.
      2. New record queued for import, but its UUID was not known by the time mod-copycat returned its response. (This means it has polled several times for the new record, but not seen it.)
      3. Some kind of hard error, such as misconfiguration of the Z39.50 target details.

      We want the UI to handle these responses as follows:

      1. Show a green toast stating that the record was imported successfully, and redirect to the new record.
      2. Show a yellow toast stating that the record was queued for import.
      3. Red toast stating the error.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mike Mike Taylor
                Reporter:
                mike Mike Taylor
                Tester Assignee:
                Charlotte Whitt Charlotte Whitt
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases