Uploaded image for project: 'mod-source-record-storage'
  1. mod-source-record-storage
  2. MODSOURCE-226

MARC Import finishes with errors, but no error messages are shown

    XMLWordPrintable

Details

    • Folijet Sprint 107
    • 1
    • Folijet
    • R1 2021
    • Simmons

    Description

      We are testing honeysuckle release and tried to import a file with ~ 2700 MARC records.
      Most work, but there seems to be a problem with some records. The import says "completed with errors", but we can not see any errors.
      Looking at the postgres logfile we see some SQL errors:

      2020-12-09 12:09:53.432 UTC [70157] bvb_mod_source_record_storage@okapi_modules ERROR: insert or update on table "error_records_lb" violates foreign key constraint "fk_error_records_records"
      2020-12-09 12:09:53.432 UTC [70157] bvb_mod_source_record_storage@okapi_modules DETAIL: Key (id)=(f6b2a468-312b-4d39-963d-b87d4a12923e) is not present in table "records_lb".
      2020-12-09 12:09:53.432 UTC [70157] bvb_mod_source_record_storage@okapi_modules STATEMENT: COMMIT

      It seems, that the problem record is discarded and no error message can be generated.

      We use mod-source-record-storage-4.1.3

      TestRail: Results

        Attachments

          1. 1013324.DEBBG.20200622.neumarc.mrc
            4.07 MB
          2. MARCedit validation errors.txt
            430 kB
          3. screenshot-1.png
            screenshot-1.png
            30 kB
          4. screenshot-2.png
            screenshot-2.png
            21 kB

          Issue Links

            Activity

              People

                wwelling William Welling
                floriangleixner Florian Gleixner
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases