-
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
[$500] Bank Account - Beneficial owner form isn't displayed after filling it, exit the BA set up and return #31848
Comments
Triggered auto assignment to @Li357 ( |
Triggered auto assignment to @miljakljajic ( |
Job added to Upwork: https://www.upwork.com/jobs/~013b94c3bd60aca7e1 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @cubuspl42 ( |
This does not seem like a blocker to me, but we should definitely investigate what caused this issue and fix it |
ProposalPlease re-state the problem that we are trying to solve in this issue.The beneficial owners form doesn't show if we close and reopen the bank account page. What is the root cause of that problem?This is another regression from Form provider refactor. In beneficial owners page, we show the form if
App/src/pages/ReimbursementAccount/ACHContractStep.js Lines 161 to 168 in 8d24b8d
App/src/components/Form/FormProvider.js Line 331 in 8d24b8d
The problem is, that we initialize App/src/components/Form/FormProvider.js Line 110 in 8d24b8d
If we compare it to Form.js, we initialize Line 114 in 8d24b8d
What changes do you think we should make in order to solve the problem?Initialize
|
Proposal What is the root cause of that problem?
InputValues is provided by the FormProvider component via Render Prop Here
FormProvider HOC Component inherits the draft state from onyx here App/src/components/Form/FormProvider.js Line 347 in 4efa2c0
The inputData is initialized with an empty object here and does not inherit the draft state set by the ACHContractStep App/src/components/Form/FormProvider.js Line 110 in 4efa2c0
The FormProvider Higher Order Component is initializing the inputValues state as an empty object. ** What changes do you think we should make in order to solve the problem? ** |
📣 @Sergio16T! 📣
|
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@miljakljajic can you you reapply the Engineering label to assign another internal engineer here? I'll be back at school EOW, thanks! |
@Li357, @miljakljajic I can put up a PR today if it's still available for contributors. Already did the research and provided proposal in comment above. Before assigning it to internal engineer, I'd love the opportunity to do the dev work on this. |
@Sergio16T This issue is the review phase, it's in my queue and I'll jump to it today. As per the process, your proposal has to be reviewed and selected first, before you put up a PR. Please ensure you've read the contributing guidelines. |
Just a formal question: did you test this? |
@cubuspl42 yes, I tested it. |
C+ reviewed 🎀 👀 🎀 I approve the proposal by @bernhardoj. It has a clear root cause analysis and provides a straight-forward solution. |
Triggered auto assignment to @tylerkaraszewski, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @cubuspl42 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @cubuspl42 |
@tylerkaraszewski, @cubuspl42, @miljakljajic, @bernhardoj Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
This issue has not been updated in over 15 days. @tylerkaraszewski, @cubuspl42, @miljakljajic, @bernhardoj eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@miljakljajic The PR is reviewed and merged 👍 |
Thank you! Apologies, it seems like we didn't update the title for this one. I will get everyone paid today. |
Paid, contracts ended! |
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: 1.4.3.2
Reproducible in staging?: y
Reproducible in production?: unable to check VBA in production
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Pre-requisite: user must have initiated the process to add a BA and reach the Beneficial owner page.
Expected Result:
Additional beneficial owner form should be displayed.
Actual Result:
Additional beneficial owner form is not displayed.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6288995_1700777107719.Yjkr6643_1_.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: