Uploaded image for project: 'mod-data-import'
  1. mod-data-import
  2. MODDATAIMP-338

Draft data-import job prevents **all** users from uploading a file and initiating another data-import job

    XMLWordPrintable

Details

    • Folijet Sprint 99
    • 2
    • Folijet
    • Q3 2020
    • 5 Colleges, Cornell, Duke, Lehigh, University of Chicago

    Description

      Overview: If any draft data import job is in progress (file uploaded, but no job profile selected or run), then the file upload pane is blocked for any/all users.

      UIDATIMP-106 indicates that the data import file upload should be blocked only for a user who already has a draft data import job in progress

      Current workaround: Not ideal or acceptable but for now, in order to initiate another data import job, you must either:
      a. resume and complete the draft job
      b. or delete the file from the draft job

      Steps to Reproduce:

      1. Log into FOLIO-snapshot as diku_admin
      2. Go to the data-import app
      3. Drag an .mrc file to the file upload pane (or select one via the *or choose files* button)
      4. Click on *Data Import* in the upper left of the header to return to the default view
      5. Note that the first pane is now blocked (no additional files can be uploaded) with the following message: *File upload already in progress*
      6. Log out as diku_admin
      7. Log in as any other user with data import permissions
      8. Go to the data-import app
      9. Note that the first pane is still blocked (no additional files can be uploaded) with the following message: *File upload already in progress* even though this user doesn't have a draft data import job in progress

      Expected Results: So long as the users have different logons, what User 1 is doing in data import should not affect what User 2 is doing.

      Actual Results: User 2 is prevented from running a data import job due to another user's draft data import job in progress.

      Additional Information: Screenshots attached for each user.

      May change this to a MOD bug, but wait and see what solution we have from MODDATAIMP-307; if interim solution where we need to keep subsequent users from importing at the same time as user 1, we may need a UI message. e.g. "Data import is already in use. Please try again later"

      TestRail: Results

        Attachments

          1. data-import__di_user.png
            272 kB
            Nick Cappadona
          2. data-import__diku_admin.png
            295 kB
            Nick Cappadona

          Issue Links

            Activity

              People

                ruslan_lavrov Ruslan Lavrov
                cappadona Nick Cappadona
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases