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

Single record import. When using the 'back' button in the browser, a duplicate import is created

    XMLWordPrintable

Details

    • Mjolnir - Sprint 149, Mjolnir - Sprint 150
    • Mjolnir
    • Nolana (R3 2022)
    • !!!ALL!!!
    • Lack of testing

    Description

      Overview: When created a record by using Single Record Import using Import, and then navigate back by using the 'Back arrow' button in the browser, a duplicate import is happening without any warning, or options for the user to cancel the process. This bug was first found by tester in uMass's environment, but can be reproduced in all the reference environments; e.g. MG Bugfest.

      Steps to Reproduce:

      1. Log into FOLIO Snapshot as as user diku_admin
      2. Go to Inventory's landing page; e.g.:
      3. Click the action menu, and select Import
      4. Enter any OCLC number on a record which is not in the collection already, e.g.
        983201487
      5. The green success toast confirm the record has been imported, and the newly created record is displaying in the third pane layout.
      6. Click the Back button in the browser

      Expected Results:
      I get back to the page before the import was triggered, in this example the 'start of the landing page'

      Actual Results:
      A duplicate record is created.
      If I click the 'Back' button one more time, I now see two green success toast creation of the same instance.

      Additional Information:
      URL:
      Interested parties: jeustis

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mike Mike Taylor
                charlotte Charlotte Whitt
                Charlotte Whitt Charlotte Whitt
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases