-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[$500] Web - IOU - TBD shows up for preview component after uploading picture as receipt and deleting it #33935
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01c149adeb2e7da69f |
Triggered auto assignment to @NicMendonca ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.When the IOU Report contains only removed requests, the total is shown as TBD. What is the root cause of that problem?When calculating whether to show TBD on the IOU Report view, we use the Lines 980 to 987 in 3b424bb
Lines 102 to 105 in 2f78afd
In our case, the transactions list is empty because when removing a failed scan request, we remove the transactions, but not the transaction threads (since they contain in-thread message from What changes do you think we should make in order to solve the problem?Modify the return !!transactions.length && transactions.every((transaction) => TransactionUtils.isDistanceRequest(transaction)); Result:![]() What alternative solutions did you explore? (Optional) |
thanks both! closing for now |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.21-1
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
TBD should not show as the preview component for the iou
Actual Result:
The IOU preview component turns to TBD
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6331902_1704349549835.tbd.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: