Uploaded image for project: 'data-import-processing-core'
  1. data-import-processing-core
  2. MODDICORE-240

EDIFACT Inv: Irregular Invoice line data in EDIFACT invoice file causes import to fail

    XMLWordPrintable

Details

    • 3
    • Folijet Support
    • Lotus R1 2022
    • MI State University/Library of Michigan
    • Institution specific data

    Description

      Environment: Juniper with all hotfixes

      Overview:
      If a Data Import field mapping profile is created with an empty "Description" field, then EDIFACT import fails.

      Workaround: Include something in the description field of any EDIFACT field mapping profile

      Steps to Reproduce:

      • Log into any FOLIO env with Data Import enabled.
      • Go to Settings -> Data Import -> Field Mapping Profile -> Create EDIFACT Invoice Field mapping profile with empty Description
      • Link that field mapping profile to an action profile to Create Invoice. Do not include a description in the Action profile.
      • Link that action profile to a job profile for Creating Invoices from EDIFACT file. Do not include a description in the Job profile.
      • Job profile field mapping with an empty description
      • Import an EDIFACT file using that job profile

      Expected Results:
      Data Import should not fail because of empty "Description" in field mapping profile

      Actual Results:
      Data Import fails with Completed with Error. Following error was seen in mod-invoice

      1640195141205,"org.folio.invoices.rest.exceptions.HttpException: {""errors"":[{""message"":""must not be null"",""type"":""1"",""code"":""-1"",""parameters"":[{""key"":""description"",""value"":""null""}]}]}"
      

      Additional Information:
      Adding a Description in the mapping profile fixes the error

      Interested parties:
      All consumers of Data Import for EDIFACT purpose

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Miami20 Khamidulla Abdulkhakimov
                varunjavalkar Varun Javalkar
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases