Uploaded image for project: 'mod-data-export-worker'
  1. mod-data-export-worker
  2. MODEXPW-242

Bulk Edit: uploading file with identifiers fails when call number contains semicolon

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 2.0.0
    • Firebird - Sprint 150
    • 1
    • Firebird
    • Nolana (R3 2022)
    • TBD

    Description

      Overview:

      When call number of item being uploaded contains semicolon (for example, a;b), preview of matched records is not shown and the following error appears in the log:

      13:54:59 [114414/bulk-edit] [diku] [81b5f144-cdea-5fdd-97e7-9c7d2b08b894] [mod-data-export-worker] ERROR BulkEditController   Failed to read 2022-09-09-Matched-Records-snapshot-items.csv for job id 5f0af70a-6616-4475-ae45-4d300e78b0ec, reason: Illegal number of effective call number elements: 5 expected: 4_

      Steps to Reproduce:

      1. Log into snapshot FOLIO environment as admin
      2. Go to inventory and find any item with call number that contains semicolon (if no such item, create one or update call number of existing item by inserting semicolon)
      3. Save barcode of the item into csv file, go to Bulk edit, select Inventory-items and Item barcode, and upload this csv file

      Expected Results:

      File is uploaded successfully, preview of matched records is shown.

      Actual Results:

      Preview of matched records is not shown, error described in Overview is in the log

      Additional Information:

      Reproduced on snapshot-2 and ptf environments as well.

      Interested parties:

      TestRail: Results

        Attachments

          1. 242_preview.png
            242_preview.png
            77 kB
          2. 242.png
            242.png
            117 kB
          3. Item_invalid_call_number.png
            Item_invalid_call_number.png
            84 kB
          4. item.png
            item.png
            607 kB
          5. Preview.png
            Preview.png
            50 kB
          6. result.png
            result.png
            782 kB

          Issue Links

            Activity

              People

                Charniak Siarhei Charniak
                Oleksandr_Bozhko Oleksandr Bozhko
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases