-
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] both bank accounts are labeled as default after adding another BA for a moment #36944
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01f8029498cae4b95a |
Triggered auto assignment to @miljakljajic ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
ProposalProblem StatementWe are currently experiencing an issue where both bank accounts are momentarily labeled as default after a user adds a second bank account in the Expensify app. This behavior is unexpected and can lead to confusion for the user, as only one bank account should be labeled as default at any given time. Root CauseBased on my review I believe that the root cause of this issue is a bug in the state management within the components that interact with the bank account addition process. Specifically, the logic responsible for updating the default status of bank accounts is not handling the addition of new bank accounts correctly. Proposed SolutionTo address this issue, I propose that we combine the following two solutions:
Here is an example of how this could be implemented in the
BenefitsThe proposed solution is relatively straightforward to implement and maintain. It also aligns with the existing logic for managing default bank accounts in the app. ConclusionI believe that the proposed solution is the best approach to resolving this issue. It is simple to implement, aligns with the existing codebase, and effectively addresses the root cause of the problem. |
I believe this issue has the same cause as #34774 and #35788. @stitesExpensify is dealing with a backend solution that will resolve them. |
I'm trying to reproduce this issue locally, but I can't add and log-in the personal bank account in local expensify app (https://dev.new.expensify.com:8082/) with Fidelity Bank method (it shows invalid credentials message when I tried to log-in), I can only log-in the Fidelity Bank account successfully in the staging. Is there a way to add and log-in the personal bank account in local dev environment? |
@miljakljajic Seems to be a duplicate issue. We can close this. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@miljakljajic, @abdulrahuman5196 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@miljakljajic gentle ping |
@miljakljajic, @abdulrahuman5196 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@miljakljajic @abdulrahuman5196 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@miljakljajic @abdulrahuman5196 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@miljakljajic, @abdulrahuman5196 Huh... This is 4 days overdue. Who can take care of this? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@miljakljajic @abdulrahuman5196 this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
@miljakljajic, @abdulrahuman5196 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Apologies for missing this - closing! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.43-0
Reproducible in staging?: y
Reproducible in production?: need to have real bank data
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: @getusha
**Slack conversation:**https://expensify.slack.com/archives/C049HHMV9SM/p1708419649536799
Action Performed:
Account Settings > Wallet > Add Bank account
Add the first BA (checking)
Add the second BA (saving)
Expected result:
Only one of the accounts should be labeled as default
Actual result:
Both accounts are labeled as default
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Recording.2756.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: