Uploaded image for project: 'mod-invoice-storage'
  1. mod-invoice-storage
  2. MODINVOSTO-63

Issue with sample data in Fameflower

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
    • Sprint:
      ACQ Sprint 98
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Trying to enable mod-invoice-storage-3.1.1 more than once for a tenant by making the following request fails with a 400:

      POST /_/proxy/tenants/<tenantID>/install?tenantParameters=loadReference%3Dtrue%2CloadSample%3Dtrue
      

      Status Code: 400

      POST request for mod-invoice-storage-3.1.1 /_/tenant failed with 500: POST <okapi-url>/mod-invoice-storage/batch-voucher-storage/batch-vouchers returned status 422: {
        "errors" : [ {
          "message" : "id value already exists in table batch_vouchers: 35657479-83b9-4760-9c39-b58dcd02ee14",
          "type" : "1",
          "code" : "-1",
          "parameters" : [ {
            "key" : "id",
            "value" : "35657479-83b9-4760-9c39-b58dcd02ee14"
          } ]
        } ]
      }
      

      If the POST was successful earlier, subsequent requests should not cause enable to fail.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                yauheni_kuzmianok Yauheni Kuzmianok
                Reporter:
                sduvvuri Sobha Duvvuri
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases