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
Web - Pay someone - Error message still displayed after removing incorrect code #52454
Version Number: 9.0.61.0 Reproducible in staging?: Y Reproducible in production?: N Issue was found when executing this PR:#50835 Issue reported by: Applause Internal Team
Click on FAB > Start chat and enter an email of another user
In 1:1 chat click on + > Pay someone
Enter the amount and proceed to the next step
Select Pay with Expensify
Enter incorrect code
Delete the entered code
Expected Result:
The underscore turns green and the error message disappears
Actual Result:
The underscore is still red and the error message is still displayed. The error is still displayed after retuning to the previous screen and selecting Pay with expensify again
👋 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.
Activity
melvin-bot commentedon Nov 13, 2024
Triggered auto assignment to @jliexpensify (
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.melvin-bot commentedon Nov 13, 2024
Triggered auto assignment to @lakchote (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Nov 13, 2024
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Nov 13, 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:
etCoderDysto commentedon Nov 13, 2024
Edited by proposal-police: This proposal was edited at 2024-11-13 09:39:07 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Error message still displayed after removing incorrect code
What is the root cause of that problem?
When a wrong magic code is entered we display error message for
account.errors.idhereApp/src/components/ValidateCodeActionModal/ValidateCodeForm/BaseValidateCodeForm.tsx
Line 205 in c24d217
And on text input change we are not clearing the error message from
account.errorshereApp/src/components/ValidateCodeActionModal/ValidateCodeForm/BaseValidateCodeForm.tsx
Lines 165 to 172 in c24d217
What changes do you think we should make in order to solve the problem?
We should clear the error from
account.errorshereNote: we need to add account.errors to the onTextInput callback dependency list
What alternative solutions did you explore? (Optional)
etCoderDysto commentedon Nov 13, 2024
I can raise a quick pr if needed
lakchote commentedon Nov 13, 2024
It's not a blocker as it doesn't prevent the user from entering a correct code.
lakchote commentedon Nov 13, 2024
The offending PR is #50835
cc @arosiclair
arosiclair commentedon Nov 13, 2024
Fixed in v9.0.61-1:
Screen.Recording.2024-11-13.at.4.48.54.PM.mov