-
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
[$1000] Web - Routing number field for new workspace is populated with value from deleted workspace. #23480
Comments
Triggered auto assignment to @kevinksullivan ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Routing number field for new workspace is populated with value from deleted workspace. What is the root cause of that problem?We didn't clear the bank account data while deleting a workspace which cause the issue. What changes do you think we should make in order to solve the problem?I think that make senses to keep bank account data if we still have workspaces since we shared the bankAccount data between workspace, we should only clear it when we don't have any workspace. So we can add a React.useEffect(() => {
if (_.isEmpty(policies)) {
// clear bank account data with BankAccounts.resetFreePlanBankAccount(bankAccountID)}
}
}, [policies]); What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.A new workspace is populated with routing number field of a deleted workspace. What is the root cause of that problem?The bank account form data is re-used between workspaces: App/src/pages/ReimbursementAccount/BankAccountManualStep.js Lines 82 to 83 in 82669ae
What changes do you think we should make in order to solve the problem?We can append the workspace ID to the Onyx key to ensure the data does not spill over. What alternative solutions did you explore? (Optional)Alternatively, upon deleting the (last) workspace we can clear the information. |
ProposalPlease re-state the problem that we are trying to solve in this issue.A new workspace is populated with routing number field of a deleted workspace. What is the root cause of that problem?The bank account form data is re-used between all workspaces because we use same App/src/pages/ReimbursementAccount/BankAccountManualStep.js Lines 95 to 107 in 80ac696
What changes do you think we should make in order to solve the problem?We can get
In this case, input will be clear on new workspace and we can use other values between workspace What alternative solutions did you explore? (Optional) |
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue. cc @thienlnam |
Current assignee @kevinksullivan is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Job added to Upwork: https://www.upwork.com/jobs/~012d45e1d746eb489a |
Current assignee @kevinksullivan is eligible for the External assigner, not assigning anyone new. |
Current assignee @parasharrajat is eligible for the External assigner, not assigning anyone new. |
Still discussing... |
Given that there are no objections and one plus vote with a good reason to move forward, I think we should change this. |
Triggered auto assignment to @jasperhuangg, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
AFAIK, we're sharing bank account information between workspaces. If you already completed 4 steps, when you created a new one, and press connect bank account you can start from step 4 instead of starting from over again. |
Good point. I moved based on the Slack discussion. Free to share your points there. |
📣 @samh-nl 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @mehvash-Khan We're missing your Upwork ID to automatically send you an offer for the Reporter role. |
I have applied to the Upwork job. Thanks. |
The policyID would have to be appended to |
Ok, Sure. I will review this on the PR. |
PR has more than expected changes. It was my mistake that I didn't think it through during the proposal review. At this stage, I feel like we need to discuss this again. we are touching mostly everything related to policies in the app and there can be unexpected bugs with these changes. It has been bothering me and I couldn't move ahead with the PR. I am going to ask for opinions on Slack or ask for helping hands. |
@parasharrajat Understandable, for anyone that would like to get involved, this comment in the PR may be useful (see "High-level summary of changes" and "Requested backend change"). |
Hi @parasharrajat , Is this issue open for more proposals? Can I add a proposal? |
@mehvash-Khan Currently, it is assigned to a contributor. Rest, I live it up to you. |
@parasharrajat Can you outline what changes introduced in the PR might cause bugs with policies? Otherwise, I mostly agree with your feedback. I'm realizing that bank accounts aren't stored with policies in the back-end, so it actually may not make much sense to start associating with them policies. We may be able to implement a simpler, front-end only solution that solves this issue. Sorry for the back and forth! @samh-nl |
Any update? Thanks. Merging does become increasingly difficult over time, so might be good to give some priority on deciding what the best way forward is. |
@samh-nl I'm honestly starting to think we can just do nothing here. I don't think this particular bug is extremely detrimental to user experience. I'm not really sure if it's worth considering this a bug at all, it could even be considered a feature that your bank account information is saved between workspaces. I'm going to go ahead and close this out. |
Fair enough. I will comfort myself with the thought that if this ever gets implemented, the work done might save people some time and it wasn't completely in vain. |
Just curious as I recently saw a closed issue was being compensated due to this passage in the contributors guide:
Anything that can be done in this case? Thanks a lot. |
hey can you raise a slack discussion for that? I'm running into a similar case. |
@kevinksullivan Can you please look into the above request #23480 (comment)? |
Any results @kevinksullivan ? |
We only pay when someone has done the work, sorry for any confusion here. |
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. |
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:
The routing number field should be empty.
Actual Result:
Routing number field is populated with routing number value which we had entered in our deleted workspace.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.43-7
Reproducible in staging?: y
Reproducible in production?: y
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
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-07-23.at.3.44.12.PM.mov
Recording.3872.mp4
Expensify/Expensify Issue URL:
Issue reported by: @mehvash-Khan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690113213055829
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: