Invoices stuck in Approved status

Description

Overview: Certain invoices are approved but not paid when the invoice action "Approve and pay" is used.

Steps to Reproduce: (TBD) refer to Cornell examples

  1. 1. search for 2 instances to approve&pay

2. select 1 instance and approve&pay

3. select 2 instance and  approve&pay

 

actual result:
Approve is done for 2 instance, but pay request is sent for invoice 1 (after 2 invoice approve) error is shown "Cannot pay an invoice without approval"

 

expected result:
Approve and pay action is performed for the same invoice

workaround: refresh invoice details page

Additional Information:

Following the video shared in the ticket the two invoices are failing and i was able to capture logs for both. There is one thing strange both have same id in the rest call 

"PUT /mod-invoice/invoice/invoices/3fee410e-621c-4b84-8b45-0f74ca3c73f8 HTTP/1.1" 400 . Which is not same as invoice id. 

With this id i was able to capture eventlog and exception stacktrace in production which is same as  what we saw in bugfest . Below are screenshots  captured form video for the two invoices

 
URL:
Interested parties:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3
  • 26 Oct 2022, 07:56 AM
  • 10 Mar 2022, 04:15 PM
  • 10 Mar 2022, 04:15 PM

Checklist

hide

TestRail: Results

Activity

Show:

Dennis Bridges March 24, 2022 at 5:59 PM

test successful in bugfest-lotus

Dennis Bridges March 17, 2022 at 9:30 PM

test successful in folio-snapshot

Kyrylo Brener March 17, 2022 at 12:10 PM

Re-assigned to Dennis

Mikita Siadykh March 15, 2022 at 1:30 PM

hi
tested on snapshot, please review

Mikita Siadykh March 14, 2022 at 9:38 AM


steps to reproduce:
1. search for 2 instances to approve&pay

2. select 1 instance and approve&pay

3. select 2 instance and  approve&pay

 

actual result:
Approve is done for 2 instance, but pay request is sent for invoice 1 (after 2 invoice approve)

 

expected result:
Approve and pay action is performed for the same invoice

workaround: refresh invoice details page

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

Lotus (R1 2022) Bug Fix

RCA Group

Third party component integration

Affected Institution

!!!ALL!!!

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created March 10, 2022 at 4:24 PM
Updated October 26, 2022 at 7:56 AM
Resolved March 17, 2022 at 9:30 PM
TestRail: Cases
TestRail: Runs

Flag notifications