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

Request for last draft upload definition responds very slowly

    XMLWordPrintable

Details

    • EPAM BatchLoader Sprint 9, EPAM BatchLoader Sprint 10
    • 5
    • Folijet

    Description

      Overview: If large files are uploaded, and then the user leaves the "choose jobs" page, FOLIO takes a long time to repaint the 3rd screen on the Data Import landing page (because a request for last draft upload definition responds very slowly)

      Method: GET
      URL: /data-import/upload/definition?query=(status==("NEW" OR "IN_PROGRESS" OR "LOADED")) sortBy createdDate/sort.descending&limit=1

      Steps to Reproduce:

      1. Log into FOLIO-snapshot as diku_admin
      2. Go to Data Import and upload several large files
      3. Leave the "choose jobs" page before all files have uploaded. Choose "close and lose partial uploads". Go to some other FOLIO app (e.g. Users)
      4. Click on the Data Import app
      5. Reload the page (if not reproduced after steps above)

      Expected Results: The third pane renders dropzone or 'Draft job in progress' message.

      Actual Results: Preloader is rendered because fetching last draft upload definition takes too much time.

      Additional Information: See attached files

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                abreaux Ann-Marie Breaux
                Oleksandr Yehorov Oleksandr Yehorov
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases