Uploaded image for project: 'mod-source-record-manager'
  1. mod-source-record-manager
  2. MODSOURMAN-722

Journal does not show error status when importing EDIFACT - Morning Glory

    XMLWordPrintable

Details

    • Folijet Sprint 135
    • 2
    • Folijet
    • Morning Glory (R2 2022)

    Description

      When an error occurs during EDIFACT import this issue does not show on the Journal screen.

      mod-invoice error:

      2022-03-11T19:27:23,268 ERROR [vert.x-worker-thread-12  ] RestClient 'POST /invoice-storage/invoice-lines' request failed. Request body: {"adjustments":[],"adjustmentsTotal":0.0,"fundDistributions":[],"invoiceId":"3842be02-3c78-48d1-b8b0-fca56369be5a",
      "invoiceLineNumber":"1","invoiceLineStatus":"Open","quantity":1,"releaseEncumbrance":true,"subTotal":270.0,"total":270.0,"referenceNumbers":[]}
      org.folio.invoices.rest.exceptions.HttpException: {"errors":[{"message":"must not be null","type":"1","code":"-1","parameters":[{"key":"description","value":"null"}]}]}
              at org.folio.invoices.utils.HelperUtils.verifyResponse(HelperUtils.java:162) ~[mod-invoice-fat.jar:?]
      

       

      request returns empty value:

      SELECT diku_mod_source_record_manager.get_job_log_entries('04d9ca14-7620-4f5e-affc-2faa8d4cb406','source_record_order','asc',100,0);
      

       

      get_job_log_entries:

      WHERE journal_records.job_execution_id = '%s' and entity_type = 'INVOICE' and title != 'INVOICE' <- journal_records.title is NULL 
      

      get_record_processing_log:

      WHERE journal_records.id = recordId AND journal_records.entity_type = 'INVOICE' AND journal_records.title != 'INVOICE'  <- journal_records.title is NULL 
      

      TestRail: Results

        Attachments

          1. GOBI-13305020211125.edi
            0.5 kB
          2. invoices_list.jpg
            invoices_list.jpg
            35 kB
          3. journal_records_202203120037.csv
            3 kB
          4. journal_records.jpg
            journal_records.jpg
            172 kB
          5. screenshot-1.png
            screenshot-1.png
            97 kB
          6. screenshot-2.png
            screenshot-2.png
            39 kB
          7. screenshot-3.png
            screenshot-3.png
            86 kB
          8. screenshot-4.png
            screenshot-4.png
            70 kB
          9. screenshot-5.png
            screenshot-5.png
            121 kB
          10. screenshot-6.png
            screenshot-6.png
            34 kB
          11. stored_proc_req.jpg
            stored_proc_req.jpg
            39 kB

          Issue Links

            Activity

              People

                Nosko Serhii Nosko
                afedasiuk Aliaksandr Fedasiuk
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases