-
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
Routing number error does not drop you back into connect manually flow #5028
Comments
Triggered auto assignment to @CortneyOfstad ( |
Triggered auto assignment to @Luke9389 ( |
I agree with the |
Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Huh... This is 4 days overdue. Who can take care of this? |
I'll work on this. |
This worked fine before. Was there a regression somewhere? |
investigating... |
@marcaaron I think you are right, I tested version 1.0.75-11 and it seems to work fine: Screen.Recording.2021-09-10.at.12.58.37.PM.movNOTE: 1.0.75-11 is not the most recent version where this was working! |
It was a regression caused by this code: https://github.com/Expensify/App/blob/main/src/libs/actions/BankAccounts.js#L648-L657 This was introduced in this PR Basically it causes the When we create the component Reverting this change to:
Fixes the problem with the bug bouncing the user back to the previous view, and the bug described here doesn't seem to be happening anymore. Maybe it got fix some other way? fixed in Onyx? fixed by constantly saving the draft values? 🤷 How would we prefer to proceed?
I would choose both, because I don't see any value in the complexity introduced here anymore, so I would revert that. I also still suggest reading the But if we wanted to go with the simplest solution, it would be just reverting! |
Thanks for looking into that 🙇 I agree we should still make Looked at the code you mention, but I'm not too familiar with why those changes were made. Maybe we can get @Jag96 to weigh in before proceeding? |
@aldo-expensify I think you hit the nail on the head w/ the investigation. The reason for that change was to fix an issue where If you revert the code in question and you can successfully pass the tests from #5114 and #4477 then I think it's ok to revert. |
Thanks @Jag96 , I'll revert that part and test that everything is working fine then! |
I'll pick up this later today (no overdue) |
No overdue, PR waiting for review |
Updated PR with main - resolve conflicts |
@aldo-expensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
12312312344
123
Note: The incorrect behaviour only happens the first time we get the error, to replicate it again, reload the page.
Expected Result:
See the loading transition, show again the same form highlighting the error in the routing number
Actual Result:
After the backend validation fails, the user is taken back to the step before choosing "Connect manually"
Screen.Recording.2021-09-22.at.11.57.57.AM.mov
Workaround:
The user can just click again "Connect manually" and proceed.
Platform:
Where is this issue occurring?
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: