Uploaded image for project: 'mod-invoice'
  1. mod-invoice
  2. MODINVOICE-303

Invoice approval is successful but throws error message

    XMLWordPrintable

Details

    • ACQ Sprint 125
    • 1
    • Thunderjet
    • R3 2021 Bug Fix

    Description

      Overview: The invoice is throws error when clicking approve BUT when refreshing the page you can see the invoice was approved

      Note: This always happens when the user is approving the first invoice created in an environment. Ie each day we refresh the testing environments this happens again.

      Preconditions:

      1. User is logged into FOLIO as User X.
      2. Invoice and invoice line are created.

      Steps to Reproduce:

      1. Click on the "Apps" button.
      2. Select the "Invoices" application.
      3. Click on the created invoice
      4. Click on the "Action" button in the third column on the screen.
      5. Click on the "Approve" item in the drop down list.
      6. Click on the "Submit" button in the pop up window.
      7. Try approval a second time if the invoice is not approved

      Expected Results: The "Invoice has been approved successfully" message is displayed and the invoice is approved.

      Actual Results: The invoice does not appear to be approved after clicking on the "Approve" button and the "Invoice was not approved" message is displayed.

      The second time you approve the underlying message from the backend is:

      "errors" : [

      { "message" : "Field can't be modified", "code" : "protectedFieldChanging", "parameters" : [ ], "protectedAndModifiedFields" : [ "approvalDate", "voucherNumber", "approvedBy" ] }

      ],
      "total_records" : 1

      It appears that the approval was actually successful at first but the UI was not refreshed.

      Additional Information:
      URL:
      Interested parties:

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                andriy_kundyukov Andriy Kundyukov
                dennisbridges Dennis Bridges
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases