-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to request money after settling existing ious #18718
Comments
Job added to Upwork: https://www.upwork.com/jobs/~013b510aa28fd9747e |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @0xmiroslav ( |
This might be related to missing optimistic data being persisted to Onyx. |
Asked @roryabraham in the slack thread if he can take a look at it, as he worked on this optimistic stuff recently. |
Let me see what I can find out |
I'm so far unable to reproduce this while using the |
Maybe a red herring, but AFAICT this is the only IOU |
So I think it's probable that this is related to the |
Documenting my testing/investigation:
|
Opened a PR to fix this issue: https://github.com/Expensify/Web-Expensify/pull/37386 |
Thanks @Julesssss for helping take the PR over the finish line here. It was a back-end fix so no C+ payment here. Closing this out. |
Nice one, guys! |
cc @mountiny @luacmartins
Problem
Some IOURequests are failing. This is a new regression.
You need to settle a few requests before the bug occurs. It might also be related to workspaces. In my case it is happenening to the workspace admin.
This appears to be occurring because we no longer clear the
chatReport.iouReportID
property when an IOU is paid. Because of this, this line is reusing an iouReportID instead of generating a new one optimistically.Solution
Figure out why we aren't clearing the
iouReport.iouReportID
, or update the mentioned logic so that we don't pass OLD iouReportIDs to the requestMoney API.Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: