Open lanitochka17 opened 4 days ago
Triggered auto assignment to @sonialiap (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
@sonialiap FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
Not here page appears
When we pay money requests, the iouReportID
of the chat report is updated to null
. But it's not updated to the expense report again when we cancel the payment.
Then when we submitted another request, we created a new optimistic report preview action and a new expense report but the backend moved this to the canceled payment expense report. So not found page appears when we open the expense report from the optimistic report preview action.
When we cancel payment here, we should update iouReportID
in optimistic data here if chatReport.iouReportID
is null
or we can check if the current chatReport.iouReportID
is created before or after the expenseReport
to decide update iouReportID
or not.
{
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT}${chatReport.reportID}`,
value: {
iouReportID: chatReport?.iouReportID ? chatReport?.iouReportID : expenseReport.reportID,
},
}
We also need a BE change to update iouReportID
of the chat report when we cancel the payment because
iouReportID
isn't updated after we cancel the paymentNA
Job added to Upwork: https://www.upwork.com/jobs/~021840688856056706978
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane (External
)
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.40-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers): gocemate+a2282@gmail.com Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Transaction thread should open
Actual Result:
Not here page appears
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/79bdf5a8-0aca-4006-b29c-98923dce8ecf
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @rushatgabhane