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
Taxes - Missing tax rates in currency default list & app crashes when clicking on foreign rate #39602
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Please re-state the problem that we are trying to solve in this issue.
Taxes - Missing tax rates in currency default list & app crashes when clicking on foreign rate
What is the root cause of that problem?
Actually looks like the BE issue
Because when we choose the same Workspace currency we get from BE new empty tax
As result we get crash that we try to get name from undefined
@ZhenjaHorbach don't add proposals until the Help Wanted is applied. Since this a deploy blocker, I am looking for this to get fixed by whoever broke it.
Activity
melvin-bot commentedon Apr 4, 2024
Triggered auto assignment to @pecanoro (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.github-actions commentedon Apr 4, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
kbecciv commentedon Apr 4, 2024
We think that this bug might be related to #wave-collect - Release 1
ZhenjaHorbach commentedon Apr 4, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Taxes - Missing tax rates in currency default list & app crashes when clicking on foreign rate
What is the root cause of that problem?
Actually looks like the BE issue
Because when we choose the same Workspace currency we get from BE new empty tax
As result we get crash that we try to get name from undefined
App/src/pages/workspace/taxes/WorkspaceTaxesSettingsWorkspaceCurrency.tsx
Lines 36 to 39 in 00d5cea
What changes do you think we should make in order to solve the problem?
To fix this issue we can add condition to just close current screen when we choose the same value without selecting the value
And we can filter the list when we don't have mandatory values( Or just update name like (value?.name ?? '') and other fields)
App/src/pages/workspace/taxes/WorkspaceTaxesPage.tsx
Lines 70 to 97 in 58e1b4b
What alternative solutions did you explore? (Optional)
NA
pecanoro commentedon Apr 4, 2024
@ZhenjaHorbach don't add proposals until the
Help Wantedis applied. Since this a deploy blocker, I am looking for this to get fixed by whoever broke it.pecanoro commentedon Apr 4, 2024
I am confident this deploy blocker is coming from #33927
MonilBhavsar commentedon Apr 4, 2024
Looking...
teneeto commentedon Apr 4, 2024
Hi, I'm Eto from Callstack - expert contributor group - and I would like to take care of this issue.
pecanoro commentedon Apr 4, 2024
@teneeto Any updates on this? It's a deploy blocker so we either need to fix it asap or revert the original PR
MonilBhavsar commentedon Apr 4, 2024
latest from slack https://expensify.slack.com/archives/C03UK30EA1Z/p1712258281600879?thread_ts=1700633473.392829&cid=C03UK30EA1Z
MonilBhavsar commentedon Apr 4, 2024
PR is up #39646
MonilBhavsar commentedon Apr 5, 2024
PR is merged. Requested CP
MonilBhavsar commentedon Apr 5, 2024
Works well, no action required here
Screen.Recording.2024-04-05.at.6.18.06.PM.mov
pecanoro commentedon Apr 22, 2024
All done, closing!