-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[HOLD for payment 2023-10-09] [HOLD for payment 2023-10-05] Workspace - App crashes when clicking Update to USD on bank account page #28144
Comments
Triggered auto assignment to @bfitzexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Auto-assign attempt failed, all eligible assignees are OOO. |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes when clicking Update to USD on the bank account page What is the root cause of that problem?This issue was introduced by #28050, Since we cleaned up the route. We don't have a function
What changes do you think we should make in order to solve the problem?We should use
What alternative solutions did you explore? (Optional)N/A |
Auto-assign attempt failed, all eligible assignees are OOO. |
Triggered auto assignment to @MariaHCD ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace - App crashes when clicking Update to USD on bank account page. What is the root cause of that problem?#28050 caused the regression. Line 140 in 38030f8
What changes do you think we should make in order to solve the problem?According the improvement, we need to change this as follows. const bankAccountRoute = `${CONFIG.EXPENSIFY.NEW_EXPENSIFY_URL}${ROUTES.BANK_ACCOUNT_WITH_STEP_TO_OPEN.getRoute('new', props.policyID, ROUTES.WORKSPACE_INITIAL.getRoute(props.policyID))}`; What alternative solutions did you explore? (Optional) |
I reported this crash in https://expensify.slack.com/archives/C049HHMV9SM/p1695629187533879 along with a proposal. ProposalPlease re-state the problem that we are trying to solve in this issue.Opening the bank account page crashes the app. What is the root cause of that problem?In BankAccountStep, we are constructing the bank account URL like below
However, in #28050, we are refactoring the ROUTES file, and the ROUTES functions (getBankAccountRoute & getWorkspaceInitialRoute) above do not exist anymore, so the app crashed. What changes do you think we should make in order to solve the problem?Replace the ROUTES usage with the new one. -${CONFIG.EXPENSIFY.NEW_EXPENSIFY_URL}${ROUTES.getBankAccountRoute('new', props.policyID, ROUTES.getWorkspaceInitialRoute(props.policyID))}
+${CONFIG.EXPENSIFY.NEW_EXPENSIFY_URL}${ROUTES.BANK_ACCOUNT_WITH_STEP_TO_OPEN.getRoute('new', props.policyID, ROUTES.WORKSPACE_INITIAL.getRoute(props.policyID))} |
seems like the issue is addressed and QA confirmed it here. Removing deploy blocker label. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.74-3 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-10-05. 🎊 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.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
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:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.75-12 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-10-09. 🎊 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.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
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:
|
This was an internal issue caused by some large merge conflicts, so just checking those things off. There isn't really a need to do them. |
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:
Precondition: User has a workspace where the default currency is not USD
Expected Result:
App does not crash
Actual Result:
App crashes
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.74-1
Reproducible in staging?: Yes
Reproducible in production?: No
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
Bug6213649_20230925_212128.mp4
logs.txt
Expensify/Expensify Issue URL:
Issue reported by: @bernhardoj / Applause - Internal Team
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695629187533879
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: