You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2023-07-10] [$1000] Deleting workspace in connect bank account provides update currency error #21604
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor
Open the app in another device and login with user A (device 2)
In device 1, open settings->workspaces->any workspace->Bank account->Connect manually->Complete step 1 (eg data: routing= 210021002, acc no = 1234) > DO NOT CLICK SAVE
From device 2, open settings->workspaces->open workspace opened in step 3->Click on 3 dots and delete the workspace
Observe the error in device 1
Expected Result:
App should display 'Hmm its not here' page when workspace is deleted
Actual Result:
App displays error:
"Oops! It appears that your workspace currency is set to a different currency than USD. To proceed, please set it to USD and try again"
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: 1.3.3.2-5 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
changed the title [-]Deleting workspace in connect bank account provides update currency error[/-][+][$1000] Deleting workspace in connect bank account provides update currency error[/+]on Jun 26, 2023
changed the title [-][$1000] Deleting workspace in connect bank account provides update currency error[/-][+][HOLD for payment 2023-07-10] [$1000] Deleting workspace in connect bank account provides update currency error[/+]on Jul 3, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.35-5 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 2023-07-10. 🎊
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
External issue reporter
Contributor that fixed the issue
Contributor+ that helped on the issue and/or PR
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@fedirjh] The PR that introduced the bug has been identified. Link to the PR:
[@fedirjh] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@fedirjh] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@fedirjh] Determine if we should create a regression test for this bug.
[@fedirjh] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@Christinadobrzyn] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Jun 26, 2023
Triggered auto assignment to @Christinadobrzyn (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jun 26, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)Pujan92 commentedon Jun 26, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Deleting workspace from second tab gives update currency error in first tab
What is the root cause of that problem?
In the
ReimbursementAccountPagewe are not checking whether policy is available or not and based on that we are not showing any not found page.What changes do you think we should make in order to solve the problem?
We should validate the policy and if it is empty we should return early with the notFound page(we can use more props of FullPageNotFoundView for more customization).
https://github.com/Expensify/App/blob/a77d74ba7bb6d998e52b81e24f482123e96e7222/src/pages/ReimbursementAccount/ReimbursementAccountPage.js#L333C1-L333C1
Christinadobrzyn commentedon Jun 26, 2023
I can reproduce - adding engineering and External
[-]Deleting workspace in connect bank account provides update currency error[/-][+][$1000] Deleting workspace in connect bank account provides update currency error[/+]melvin-bot commentedon Jun 26, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01b7395caefe5a942e
melvin-bot commentedon Jun 26, 2023
Triggered auto assignment to @puneetlath (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.melvin-bot commentedon Jun 26, 2023
Current assignee @Christinadobrzyn is eligible for the External assigner, not assigning anyone new.
15 remaining items
Christinadobrzyn commentedon Jun 30, 2023
Hired in Upwork:
Internal job posting: https://www.upwork.com/ab/applicants/1673414242053304320/job-details
External job posting: https://www.upwork.com/jobs/~01b7395caefe5a942e
@dhanashree-sawant as reporter
@Pujan92 as contributor
@fedirjh as C+
[-][$1000] Deleting workspace in connect bank account provides update currency error[/-][+][HOLD for payment 2023-07-10] [$1000] Deleting workspace in connect bank account provides update currency error[/+]melvin-bot commentedon Jul 3, 2023
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 3, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.35-5 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 2023-07-10. 🎊
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
melvin-bot commentedon Jul 3, 2023
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
Christinadobrzyn commentedon Jul 10, 2023
Do we need a regression test for this? @fedirjh?
fedirjh commentedon Jul 11, 2023
@Christinadobrzyn This is an example of an edged case, we don’t need a regression test.
Christinadobrzyn commentedon Jul 11, 2023
Paid! in Upwork with a bonus based on #21604 (comment)
Closed job in Upwork and closing this GH.