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

Reenabling module fails when reference data already exists

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • 4.5.1, 4.6.0
    • 4.6.1, 4.5.2
    • Firebird - Sprint 151, Firebird - Sprint 152
    • 1
    • Firebird
    • Morning Glory (R2 2022) Hot Fix #1
    • Implementation coding issue

    Description

      Overview:
      While reenabling mod-data-export-4.5.1 with loadReference=true flag during the upgrade to MorningGlory, it fails with 500 error when using an API call, the error log shows following:

      " POST http://mod-data-export-b.msbd.folio-eis.eu-central-1:8051/mod-data-export/data-export/mapping-profiles returned status 422: {errors" : [ {"message" : "duplicate id value violates unique constraint: 25d81cbe-9686-11ea-bb37-0242ac130002","type" : "1","code" : "-1","parameters" : [ {"key" : "id", "value" : "25d81cbe-9686-11ea-bb37-0242ac130002"..."
      

      Expected Results:
      Module enabled successfully
      Actual Results:
      Module fails with 500 error

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Charniak Siarhei Charniak
                Charniak Siarhei Charniak
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases