You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-01-11] [HOLD for payment 2024-01-09] [$500] IOU - When adding a receipt to a manual IOU, the error "Receipt missing details" appears #33786
Version Number: 1.4.20-0 Reproducible in staging?: Y Reproducible in production?: N 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:
Open New Expensify app
Log in with any account
Click on FAB > Request Money > Manual
Input an amount and click Next
Enter/select an option for the request
Click on the three-dot menu at the top right
Click on "Add Receipt"
Click on "Choose File" and Select an image
Complete the request
Expected Result:
No error should appear when adding a receipt to a manual IOU
Actual Result:
When adding a receipt to a manual IOU, the error "Receipt missing details" appears
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
changed the title [-] IOU - When adding a receipt to a manual IOU, the error "Receipt missing details" appears[/-][+][$500] IOU - When adding a receipt to a manual IOU, the error "Receipt missing details" appears[/+]on Dec 29, 2023
Yeah Someone can try to reproduce, then revert on main and repro again to confirm, I am fixing some issues and we we have weekend to resolve, its been quite complicated Pr so ideally we fix this instead of reverting
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.21-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-01-11. 🎊
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
External issue reporter
Contributor that fixed the issue — @paultsimura paid $250 via Upwork; @Tony-MK paid $250 via Upwork
Contributor+ that helped on the issue and/or PR — @situchan paid $500 via Upwork
For reference, here are some details about the assignees on this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@situchan] The PR that introduced the bug has been identified. Link to the PR:
[@situchan] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@situchan] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@situchan] Determine if we should create a regression test for this bug.
[@situchan] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@CortneyOfstad] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
Also, here are the suggestions for my proposal's alternative solution A presented.
What alternative solutions did you explore? (Optional)
Option A Just like in IOU.js, TaskUtil.ts, ReportUtils.ts, and many others, we can connect to the onyx and get only parent reports from ONYXKEYS.COLLECTION.REPORT. Then, store them in an array in TransactionUtils.js like such: let allReports: OnyxCollection<Report>.
The last action for both options A and B will be checking if is an expense report with parentReport?.type === CONST.REPORT.TYPE.EXPENSE.
Note for @CortneyOfstad I think @paultsimura did not do this intentionally but in Slack mentioned he is happy to split the reward for fairness. In that case we can pay $250 each for @paultsimura and @Tony-MK
Contributor that fixed the issue — @paultsimura paid $250 via Upwork; @Tony-MK paid $250 via Upwork
Contributor+ that helped on the issue and/or PR — @situchan paid $500 via Upwork
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
Determine if we should create a regression test for this bug.
If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
This was deploy blocker. Caught during regression testing so no need another one.
Activity
github-actions commentedon Dec 29, 2023
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
melvin-bot commentedon Dec 29, 2023
Triggered auto assignment to @joelbettner (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.[-] IOU - When adding a receipt to a manual IOU, the error "Receipt missing details" appears[/-][+][$500] IOU - When adding a receipt to a manual IOU, the error "Receipt missing details" appears[/+]melvin-bot commentedon Dec 29, 2023
Job added to Upwork: https://www.upwork.com/jobs/~014720a73c52b8fa9d
melvin-bot commentedon Dec 29, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (
External)joelbettner commentedon Dec 29, 2023
@situchan @waterim I think this might be happening because of this PR, but I'm not entirely sure.
situchan commentedon Dec 29, 2023
cc: @mountiny
mountiny commentedon Dec 29, 2023
Yeah Someone can try to reproduce, then revert on main and repro again to confirm, I am fixing some issues and we we have weekend to resolve, its been quite complicated Pr so ideally we fix this instead of reverting
53 remaining items
melvin-bot commentedon Jan 4, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.21-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-01-11. 🎊
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jan 4, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
Tony-MK commentedon Jan 9, 2024
Hey everyone,
Advice by @mountiny, this comment is a continuation of this slack discussion.
Below are the PR changes meant the fix this issue from his Proposal.
App/src/libs/TransactionUtils.ts
Lines 33 to 38 in ff95c0c
App/src/libs/TransactionUtils.ts
Lines 159 to 161 in ff95c0c
Also, here are the suggestions for my proposal's alternative solution A presented.
mountiny commentedon Jan 9, 2024
Note for @CortneyOfstad I think @paultsimura did not do this intentionally but in Slack mentioned he is happy to split the reward for fairness. In that case we can pay $250 each for @paultsimura and @Tony-MK
$500 to @situchan
CortneyOfstad commentedon Jan 11, 2024
@Tony-MK sent you a proposal — please let me know once you accept so I can get that paid to you 👍
@paultsimura — paid you $250 per the comment above via Upwork
@situchan — paid you $500 via Upwork
Tony-MK commentedon Jan 11, 2024
Thanks, @CortneyOfstad . I accepted the offer.
CortneyOfstad commentedon Jan 11, 2024
Paid!
Payment Summary
Contributor that fixed the issue — @paultsimura paid $250 via Upwork; @Tony-MK paid $250 via Upwork
Contributor+ that helped on the issue and/or PR — @situchan paid $500 via Upwork
CortneyOfstad commentedon Jan 11, 2024
@situchan any updates on the checklist above? TIA!
situchan commentedon Jan 11, 2024
This was deploy blocker. Caught during regression testing so no need another one.
CortneyOfstad commentedon Jan 11, 2024
Perfect! Closing!