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

Issue with sample data in Fameflower

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Won't Do
    • None
    • None
    • None
    • ACQ Sprint 98
    • 2
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases