-
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
[$250] Scan - Replace receipt option is present when request is still scanning in one transaction view #39494
Comments
Triggered auto assignment to @amyevans ( |
We think that this bug might be related to #wave-collect - Release 1 |
This seems like a rather minor bug coming out of the One Transaction View feature, so going to demote it to not block deploy and open it up for proposals. cc @NikkiWines though for visibility, in case you disagree or have any context to add! |
Job added to Upwork: https://www.upwork.com/jobs/~01d008a7eab4bb0c77 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Triggered auto assignment to @twisterdotcom ( |
Upwork job price has been updated to $250 |
ProposalPlease re-state the problem that we are trying to solve in this issue.User can replace receipt while the request is scanning What is the root cause of that problem?The receipt replace action is not disabled if the request is scanning in the canEditFieldOfMoneyRequest function What changes do you think we should make in order to solve the problem?we need to move these vars on top in order to use the Lines 2391 to 2393 in 338aeff
then add the following condition to return false if the transaction is being scanned: if (TransactionUtils.isReceiptBeingScanned(transaction)) {
return false;
} POCScreen.Recording.2024-04-03.at.9.00.31.PM.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.In Step 5, Replace receipt option is available for the request that is still scanning. Clicking on it leads to not here page. This only happens when there is one transaction. What is the root cause of that problem?When there's one transaction in the IOU report, the However, when we're passing the contextValue down here, we're still passing the This leads to this scanning check condition checking on an empty transaction, because it's getting transaction on the wrong report (the IOU report rather than What changes do you think we should make in order to solve the problem?In contextValue here, use the
The What alternative solutions did you explore? (Optional)We should also check other values in |
@Santhosh-Sellavel any of these proposals good to go? |
@twisterdotcom This some how got missed from my radar. Can you reassign, I can't get to this quicker. Again sorry for the delay |
📣 @shubham1206agra 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@twisterdotcom Can you ask QA to retest this? |
But @nkdengineer solution is correct (in context passing sense) in some sense. We need to find the bug created if we don't apply the solution. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Not reproduced in latest build bandicam.2024-04-11.13-37-45-106.mp4 |
Thanks for the confirmation. |
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: 1.4.59-3
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4468886
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
In Step 5, there should not be Replace option for the request that is still scanning.
Actual Result:
In Step 5, Replace receipt option is available for the request that is still scanning. Clicking on it leads to not here page. This only happens when there is one transaction.
Workaround:
n/a
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6436635_1712143969929.bandicam_2024-04-03_19-28-07-637.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: