App icon indicating copy to clipboard operation
App copied to clipboard

Error message shown out of place in VBA flow

Open kevinksullivan opened this issue 5 years ago β€’ 8 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Related slack thread - https://expensify.slack.com/archives/C020EPP9B9A/p1630345426146800

Action Performed:

  1. Created workspace on freePlan beta
  2. Selected Get Started in the Expensify Card tab of the Workspace
  3. Entered test bank account credentials in 3 of this SO
  4. Arrived at Validate Step to enter validation amounts, and see an irrelevant error message

Expected Result:

I should not see the error message

Please verify your name and date of birth. If the information is correct, click "Save & Continue"

Actual Result:

I was shown the following error message, which is not relevant to the step I am on:

Please verify your name and date of birth. If the information is correct, click "Save & Continue"

This error message would only apply to a previous step I had already completed successfully.

@marcaaron provided some additional context here:

yes, I agree it should be internal. I think the error is also thrown in the BE here -> https://github.com/Expensify/Web-Secure/blob/9dafee3cb63e9c35666bfd4609751aa3c139a5ca/lib/Error/BankAccount/AutoVerifyFailure.php#L285-L289

Platform:

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: v1.0.88-3

Notes/Photos/Videos: Any additional supporting documentation image

View all open jobs on GitHub

kevinksullivan avatar Aug 30 '21 17:08 kevinksullivan

Triggered auto assignment to @michaelhaxhiu (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

MelvinBot avatar Aug 30 '21 17:08 MelvinBot

Triggered auto assignment to @tylerkaraszewski (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

MelvinBot avatar Aug 30 '21 18:08 MelvinBot

This is probably pretty straightforward for someone who's worked on this. I'm going to unassign myself from triage and let someone with more direct experience pick it up.

tylerkaraszewski avatar Aug 30 '21 18:08 tylerkaraszewski

Took a look, it seems like this is because we aren't clearing the error message out of the reimbursement account onyxkey when transitioning to another step. I have a PR up but haven't been able to test since I get stuck on the Validate step in this https://github.com/Expensify/Expensify/issues/175776#

thienlnam avatar Aug 31 '21 20:08 thienlnam

popped a suggestion in slack.

kevinksullivan avatar Aug 31 '21 23:08 kevinksullivan

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

botify avatar Sep 01 '21 01:09 botify

πŸš€ Deployed to staging by @aldo-expensify in version: 1.0.90-3 πŸš€

platform result
πŸ€– android πŸ€– success βœ…
πŸ–₯ desktop πŸ–₯ success βœ…
🍎 iOS 🍎 success βœ…
πŸ•Έ web πŸ•Έ success βœ…

botify avatar Sep 01 '21 03:09 botify

πŸš€ Deployed to production by @roryabraham in version: 1.0.91-0 πŸš€

platform result
πŸ€– android πŸ€– success βœ…
πŸ–₯ desktop πŸ–₯ success βœ…
🍎 iOS 🍎 failure ❌
πŸ•Έ web πŸ•Έ success βœ…

botify avatar Sep 02 '21 00:09 botify