Uploaded image for project: 'RAML Module Builder'
  1. RAML Module Builder
  2. RMB-899

Extend error handling for a specific status code(4XX) in case of "23505" Postgres error for skipping DI_ERROR from mod-inventory in case for duplicates

    XMLWordPrintable

Details

    • Core: Platform
    • Nolana (R3 2022)

    Description

      Overview: in scope of implementing MODINV-646  it seems like there should be extended error handler via specific error for catching this status-code in mod-inventory.

      For this mechanism there should be extended error handling on DB-layer in raml-module-builder(it seems like inPgUtil-class): if there is a PostgreSQL error code = "23505", then there should be returned brand new specific 4XX status code(for example - 417), not common 400 (like it works nowadays). 

      It will allow to catch specific data-import errors on duplication.

       

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                VRohach Volodymyr Rohach
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases