Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-1755

If a KBART file fails to load, the job outcome should be "failure"

    XMLWordPrintable

Details

    • ERM Sprint 117, ERM Sprint 118, ERM Sprint 119
    • Bienenvolk

    Description

      Overview:

      When doing a KBART file upload via the Local KB Admin the load can fail to detect required fields and fail to load any records but still return "Partial Success"

      In these scenarios it would be clearer to the user if the report was "Failure"

      Steps to Reproduce:

      1. Take a non-KBART file (can be any non-KBART file including non text files - e.g. pdf or xlsx)
      2. Attempt to load the file using Local KB Admin -> Actions -> New KBART Import job
      3. Fill out required fields (any values) and upload the file
      4. Click "Save & close"

      Actual Results:

      The job completes with Import outcome == "Partial success"

      There is one error in the error log "The import file is missing the mandatory fields: [publication_title, online_identifier, title_url, publication_type]"

      Expected Results:

       The lack of mandatory fields should result in an Import outcome == "Failure" as this means that the file cannot be processed as a KBART file

      Additional Information:

      On the eUsage test system one attempt to upload an xlsx file as a KBART file resulted in outcome == "Success" but I've been unable to recreate this outcome on folio-snapshot


      URL:
      Interested parties:

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                ostephens Owen Stephens
                ostephens Owen Stephens
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases