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
[PAID] [$250] [Violations] Distance - Incorrect error message when distance amount is changed to smaller amount #41401
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Modify the amount to smaller than the calculated amount.
Expected Result:
The error message should correctly reflect the difference in the new amount.
It should follow Old Dot style where it shows "Expense amount differs from the calculated distance amount",
Actual Result:
When the distance amount is manually changed to the lower amount, the error message is "Amount greater than scanned receipt", which is generic and untrue.
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.
@strepanier03 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.
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:
[@sobitneupane] The PR that introduced the bug has been identified. Link to the PR:
[@sobitneupane] 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:
Not Required.
[@sobitneupane] 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:
Not Required.
[@sobitneupane] Determine if we should create a regression test for this bug.
Yes.
[@sobitneupane] 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.
changed the title [-][HOLD for payment 2024-07-24] [$250] [Violations] Distance - Incorrect error message when distance amount is changed to smaller amount[/-][+][PAID] [$250] [Violations] Distance - Incorrect error message when distance amount is changed to smaller amount[/+]on Jul 30, 2024
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Activity
melvin-bot commentedon May 1, 2024
Triggered auto assignment to @Julesssss (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon May 1, 2024
Triggered auto assignment to @strepanier03 (
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.github-actions commentedon May 1, 2024
👋 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:
izarutskaya commentedon May 1, 2024
Production

izarutskaya commentedon May 1, 2024
@strepanier03 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.
izarutskaya commentedon May 1, 2024
We think this issue might be related to the #collect project.
neonbhai commentedon May 1, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Incorrect error message when distance amount is changed to smaller amount
What is the root cause of that problem?
The
modifiedAmountviolation message is worded differentlyApp/src/languages/en.ts
Line 2878 in 573d989
What changes do you think we should make in order to solve the problem?
We will change the modifiedAmount violation to the OldDot style message:
Expense amount differs from the calculated distance amountApp/src/languages/en.ts
Line 2878 in 573d989
modifiedAmount: 'Expense amount differs from the calculated distance amount'we will also change
es.tswith the spanish translation62 remaining items
strepanier03 commentedon Jul 24, 2024
@Krishna2323 - I sent you an offer via Upwork, I'll keep an eye out for the acceptance notification to finish up.
@sobitneupane - I'll check in later for the checklist and once it's done I'll post the payment summary. Thanks!
strepanier03 commentedon Jul 24, 2024
Saw you accepted so I paid and closed the contract @Krishna2323, thanks!
melvin-bot commentedon Jul 24, 2024
Payment Summary
Upwork Job
BugZero Checklist (@strepanier03)
strepanier03 commentedon Jul 26, 2024
@sobitneupane - Gentle bump on the checklist when you get a chance.
sobitneupane commentedon Jul 29, 2024
#37813
Not Required.
Not Required.
Yes.
sobitneupane commentedon Jul 29, 2024
Regression Test Proposal
Amount greater than scanned receipterror appears below amount fieldAmount differs from calculated distanceerror appears below amount fieldDo we agree 👍 or 👎
strepanier03 commentedon Jul 29, 2024
Payment Summary
@JmillsExpensify - One payment request incoming.
JmillsExpensify commentedon Jul 29, 2024
$250 approved for @sobitneupane
strepanier03 commentedon Jul 30, 2024
Thanks all, closing now.
[-][HOLD for payment 2024-07-24] [$250] [Violations] Distance - Incorrect error message when distance amount is changed to smaller amount[/-][+][PAID] [$250] [Violations] Distance - Incorrect error message when distance amount is changed to smaller amount[/+]