-
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
[$250] Bank account - Company's website step is skipped and causes error on confirmation page #45283
Comments
Triggered auto assignment to @sonialiap ( |
@sonialiap FYI 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 |
We think that this bug might be related to #wave-collect - Release 1 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Website step is skipped when setting up bank account. What is the root cause of that problem?We call App/src/pages/ReimbursementAccount/utils/getInitialSubstepForBusinessInfo.ts Lines 9 to 25 in c53bd5c
It's from this PR which fixes #38585. But the issue hasn't happened yet. This issue happens after #37680 where we save each sub-step. What changes do you think we should make in order to solve the problem?The loader view issue will be handled here. That will fix this issue too, but not completely. We can still skip the company step by filling all step before the website step, then refresh the page. To solve the issue completely, we shouldn't save the default website to the draft yet. The default website should be shown as the default value of the input and will be saved once the user save it. Steps:
Now, we need to refix #38585. The issue there is that, the
It's because the App/src/components/Form/FormProvider.tsx Lines 244 to 255 in c53bd5c
To fix this, we should check if it's an empty string too. We can create a function so it's reusable.
Last, to make sure we don't skip an invalid website, we can improve the initial sub step condition for website by adding the website validation logic to it. App/src/pages/ReimbursementAccount/utils/getInitialSubstepForBusinessInfo.ts Lines 18 to 20 in b10580f
|
Job added to Upwork: https://www.upwork.com/jobs/~01a9b660d62d255c15 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @suneox ( |
@suneox, @sonialiap Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
I'll checking proposal today |
|
Triggered auto assignment to @neil-marcellini, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
I found another issue on this proposal when submit invalid website and go to previous step after resubmit data from previous step the company's website step is skipped, so we're still looking for another solution |
I don't think that's an issue with my proposal. That's an existing issue on our App. We only check whether the value is filled or not. You can see that I can skip the address step even though the zip code is invalid. web.mp4I guess we need to take the validation logic on each substep and use it in |
@bernhardoj I agree with you, but currently, we’re working on the step to check the website. Therefore, I believe we should also handle invalid websites in this issue
Nice, can you update your proposal to include the validation logic for the business website? |
Updated proposal. |
@suneox, @sonialiap, @neil-marcellini Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
📣 @suneox 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
Woops, Idk what happened here. I approved it a while ago but somehow failed to assign the contributor. |
@bernhardoj please start on a PR. |
PR is ready cc: @suneox |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. 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. |
Head's up, I'll be working 50% for the rest of this week and next 🌲 |
Triggered auto assignment to @puneetlath ( |
@puneetlath I'm OOO Aug 19-30, adding BZ leave buddy. |
This has been done for a while AFAIK. There was a regression that was fixed, but I think we still need to pay 50% or whatever. |
@suneox @bernhardoj is that correct? Mind confirming which PR was for this issue and for the regression? |
@puneetlath I’d like to confirm the PR from this issue has caused regression #47227 and that was fixed |
Great, thanks for confirming. So in that case, I believe these payouts are correct: C - $250 - @bernhardoj - to be paid via NewDot Thanks everyone! |
$250 approved for @bernhardoj |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.6-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Precondition:
Expected Result:
In Step 5, after Company's Tax ID step, app will proceed to Company's website step
Actual Result:
In Step 5, after Company's Tax ID step, Company's website step is skipped, and it proceeds to Phone number step
As a result, it shows the error "Please provide a valid Website" on the confirmation page (Step 8)
It only reveals Company's website step when clicking back button twice from the confirmation page (Step 10)
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6538961_1720703484253.20240711_210608.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @puneetlathThe text was updated successfully, but these errors were encountered: