-
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
[HOLD for payment 2022-11-11] [$250] Andriod/IOS - Connect Bank Account - Company page displayed instead Personal Information Page after tap back button on Onfido flow, error message displayed #11461
Comments
Triggered auto assignment to @stitesExpensify ( |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a production regression has occurred a Root Cause Analysis is required. Please follow the instructions here. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
I'm pretty confident this can be fixed externally by passing a different prop to the onFido component |
Triggered auto assignment to @trjExpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Current assignee @stitesExpensify is eligible for the External assigner, not assigning anyone new. |
👋 The contributor will need an account number and routing number to test with, no? |
@stitesExpensify @trjExpensify I tested this flow, but are we sure this is what we want? I can see comments in
|
Proposal App/src/pages/ReimbursementAccount/RequestorStep.js Lines 189 to 197 in 6748e8a
We're setting the step as But just updating the step doesn't help as the onFido component rendered in the <Onfido
sdkToken={this.props.onfidoToken}
onUserExit={() => {
+ BankAccounts.clearOnfidoToken();
- BankAccounts.goToWithdrawalAccountSetupStep(CONST.BANK_ACCOUNT.STEP.COMPANY);
+ BankAccounts.goToWithdrawalAccountSetupStep(CONST.BANK_ACCOUNT.STEP.REQUESTOR);
}}
onError={() => {
Growl.error(this.props.translate('onfidoStep.genericError'), 10000);
+ BankAccounts.clearOnfidoToken();
- BankAccounts.goToWithdrawalAccountSetupStep(CONST.BANK_ACCOUNT.STEP.COMPANY);
+ BankAccounts.goToWithdrawalAccountSetupStep(CONST.BANK_ACCOUNT.STEP.REQUESTOR);
}} |
Oh, interesting! 🤔 I wonder why that is? The step before Onfido is personal details, so why do we skip over that page and go back to CompanyStep instead? @kevinksullivan & @marcaaron might know as they worked on this originally, I believe. |
Hmm trying to scroll back in my DM with @marcaaron because I believe this was part of the original design since it was easier at the time. I think we kick the user back to the company info step because we don't create the VBA until after a certain point, so this may have to do with that timing and the need to re-submit the info. @marcaaron can you fill in the large gaps in my explanation? |
Can you elaborate on resubmitting the info? I did a basic test on @akshayasalvi's proposal and it seems to be working. But I haven't tested thoroughly so if there's something specific to be considered when doing this, it'll be helpful if can be linked to the issue. |
@kevinksullivan @marcaaron @stitesExpensify Quick bump. |
ProposalThe problem is with the error messages we check on catching errors. We don't want to display the error when messages are one of these: Currently, we are missing Solution:
Lines 587 to 606 in 11c2d49
App/src/components/Onfido/index.native.js Lines 44 to 54 in 2f5603d
And now there is no error anymore
VIDEO: Screen.Recording.2022-10-05.at.12.01.37.mov |
@trjExpensify Based on @kevinksullivan's comment it seems we did that only because it was easier that time. Should I evaluate the proposal? |
Yeah, at a minimum we want to fix the error appearing when navigating back. I do also think it makes more sense to navigate back to the personal information step instead of the company info step, but I don't have enough insight as to whether there's a show stopper in this:
If the proposal encompasses these things, then I don't see a reason why that isn't fine:
|
@trjExpensify In that case @Uros787's proposal seems to be fixing the error part. Should we go ahead and fix atleast that part? |
#11461 (comment) - the video seems to navigate back to the personal info page as well though? |
@mananjadhav, @trjExpensify, @stitesExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
PR changes are fine, I'll finish the testing by tomorrow. |
The PR has gone through C+ review, it's now over to @MariaHCD & @ctkochan22 for review. Actually, @stitesExpensify why aren't you also assigned the PR to review as the CME? 🤔 |
This comment was marked as spam.
This comment was marked as spam.
1 similar comment
This comment was marked as spam.
This comment was marked as spam.
BugZero Checklist: The PR fixing this issue has been merged! The following checklist will need to be completed before the issue can be closed:
|
PR was merged, but I am not sure about |
Sure, that's the new checklist for BugZero to ensure we square all these items away. Obviously, the last three won't happen until we hit +7 days from the production deploy, but I can get going on the suggested regression tests to add to TestRail once we hit staging and it passes QA regression testing.
For this one. IIRC, this wasn't actually a regression, we just implemented it to return to the |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.23-9 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2022-11-11. 🎊 |
Issue not reproducible during KI retests. (First week) |
Bump on this. If I understand it, we think the |
That sounds correct to me. |
@trjExpensify This is due for payment |
I've settled up with @Uros787. Sent you an offer to accept for C+, and @thesahindia for reporting. |
Accepted, thanks! |
^^ Settled! |
All payments have been made, checklist complete. Closing it out. Thanks everyone! 🥂 to the next one.. |
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:
Expected Result:
Personal page displayed instead company Information Page after tap back button on Onfido flow, no error message
Actual Result:
Company page displayed instead Personal Information Page after tap back button on Onfido flow, error message displayed
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.10.0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen_Recording_20220929-190017_New.Expensify.1.mp4
Upwork URL: https://www.upwork.com/jobs/~010e6ad9c23c041b36
Issue reported by: Applause - Internal Team (originally @thesahindia)
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: