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 2023-09-29] [$500] Request money - Scan - When the receipt scan fails, the requested user is prompted to "Enter an amount." #27333
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
1- Using userA Request money -> scan random image
2- select UserB
3- wait till the scan fails
4- Login to UserB
5- click on the requested money from user A
Expected Result:
"Enter an amount." should not be prompted to userB
Actual Result:
"Enter an amount." is prompted to userB
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: v1.3.69-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:
changed the title [-]Request money - Scan - When the receipt scan fails, the requested user is prompted to "Enter an amount."[/-][+][$500] Request money - Scan - When the receipt scan fails, the requested user is prompted to "Enter an amount."[/+]on Sep 13, 2023
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:
[@allroundexperts] The PR that introduced the bug has been identified. Link to the PR:
[@allroundexperts] 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:
[@allroundexperts] 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:
[@allroundexperts] Determine if we should create a regression test for this bug.
[@allroundexperts] 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.
[@mallenexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
Issue reporter: @hichamcc paid $50 via Upwork
Contributor: @ahmedGaber93 paid $750 via Upwork, includes 50% urgency bonus
Contributor+: @allroundexperts due $750 via NewDot.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
ahmedGaber93 commentedon Sep 13, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
When the receipt scan fails, the requested user is prompted to "Enter an amount."
What is the root cause of that problem?
we show the error for all user regardless of user can edit the request or not.
What changes do you think we should make in order to solve the problem?
we need to show the error based on both
canEditandhasErrorsby edit it once here or where
hasErrorsis used.App/src/components/ReportActionItem/MoneyRequestView.js
Line 92 in 6b1a667
What alternative solutions did you explore? (Optional)
we can keep the error visible for the requested user and conditionally change the format of it, eg: failed to scan amont!
melvin-bot commentedon Sep 13, 2023
Triggered auto assignment to @mallenexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Sep 13, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)[-]Request money - Scan - When the receipt scan fails, the requested user is prompted to "Enter an amount."[/-][+][$500] Request money - Scan - When the receipt scan fails, the requested user is prompted to "Enter an amount."[/+]melvin-bot commentedon Sep 13, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01ba12fc29f8de1dec
melvin-bot commentedon Sep 13, 2023
Current assignee @mallenexpensify is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Sep 13, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts (
External)paultsimura commentedon Sep 13, 2023
mallenexpensify commentedon Sep 14, 2023
Was able to reproduce, Hoping/assuming it can be external, @allroundexperts can you review the proposals above plz?
24 remaining items
melvin-bot commentedon Sep 22, 2023
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:
mallenexpensify commentedon Sep 29, 2023
@hichamcc , @ahmedGaber93 can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~01ba12fc29f8de1dec
@allroundexperts , please complete checklist above
hichamcc commentedon Sep 29, 2023
@mallenexpensify done
mallenexpensify commentedon Oct 2, 2023
Issue reporter: @hichamcc paid $50 via Upwork
Contributor: @ahmedGaber93 paid $750 via Upwork, includes 50% urgency bonus
Contributor+: @allroundexperts due $750 via NewDot.
@allroundexperts , please complete the BZ checklist above
ahmedGaber93 commentedon Oct 2, 2023
@mallenexpensify I received only $500 not $750, can you please check this?
allroundexperts commentedon Oct 3, 2023
Checklist
Regression Test Steps
Verify that
Enter an amounterror is prompted to User A but not to User B.Do we 👍 or 👎 ?
mallenexpensify commentedon Oct 4, 2023
@ahmedGaber93 , I'm sorry, not sure how I messed that up, I just bonused you $250.
Thanks @allroundexperts for the test steps, GH created https://github.com/Expensify/Expensify/issues/323141
JmillsExpensify commentedon Oct 5, 2023
$750 payment approved for @allroundexperts based on BZ summary.