Uploaded image for project: 'mod-data-export'
  1. mod-data-export
  2. MDEXP-442

Gracefully handle 'ExportManagerImpl Export is failed'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      Overview:

      This is an example of another error that halts data export.

      2021-09-13T20:15:30,595 ERROR [vert.x-eventloop-thread-1] ExportManagerImpl Export is failed, cause: A string value cannot contain data after its closing quote (this is most likely caused by a missing comma between members); at Input Source: "MarcInput", Line: 1, Column: 2639, Member Name: ind1

       

      We've bumped into several errors like this that completely halt the export:

      Escape control characters in quoted literals  https://issues.folio.org/browse/MDEXP-426

      Gracefully handle MARC records that exceed the size limit  https://issues.folio.org/browse/MDEXP-422

      Can this issue be fixed so that whenever this ("ExportManagerImpl Export is failed") occurs, the error is logged and the export continues on?  This is a difficult problem because from the logs it is not possible to determine which record caused the problem.  I hadn't seen this particular error in the past so we have no idea what other errors might pop-up during the export.  My request is to deal with any error gracefully during this process.

       

       

      Steps to Reproduce:

      I'm not sure how to reproduce this error because we don't know what record is causing it.

       

      Expected Results:

      • The error is handled gracefully
      • The status of the export is Completed with errors. 
      • Not affected records are successfully exported.
      • The information about the affected record is  added to the user error log using the standard entry :
        <dateandtime> ERROR A quoted literal may not contain any control character. Field name <affected fields>
        {
        "Instance UUID": "<affected record uuid>"
        "Instance HRID": "<affected record hrid>"
        "Instance Title": "<title>"
        "Inventory record link": <link to the record>
        }
        

      Actual Results:

      Export job fails.  Error log contains only Generic error information.

      Interested parties:

      Skidmore

      MSTU

      smcvt

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                msuranofsky Michelle Suranofsky
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases