Skip to content
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 2024-04-25] Tax - Maximum tax amount is 0 error msg on updating currency for non-default tax rate #40036

Closed
5 of 6 tasks
lanitochka17 opened this issue Apr 10, 2024 · 17 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Apr 10, 2024

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.62-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team

Issue found when executing PR #39562

Action Performed:

Precondition : Add tax rates for any WS apart from the default one

  1. Tap on FAB button >> Request money
  2. Select Manual option & enter amount
  3. Select workspace with enabled taxes
  4. On the confirm screen choose a different tax rate
  5. Click on Tax amount option
  6. Change currency to a different option & tap on Save button (Note: Error message appears)
  7. Change back currency to USD & tap on save button

Expected Result:

No error message appear & tax amount get saved on changing currency for a non-default rate

Actual Result:

Maximum tax amount is 0 error msg on updating currency for non-default tax rate

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6444958_1712776090538.Recording__124.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Apr 10, 2024
Copy link

melvin-bot bot commented Apr 10, 2024

Triggered auto assignment to @luacmartins (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@lanitochka17
Copy link
Author

@luacmartins FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@lanitochka17
Copy link
Author

lanitochka17 commented Apr 10, 2024

We think that this bug might be related to #wave-collect - Release 1

@mountiny
Copy link
Contributor

@akinwale @ZhenjaHorbach can you please check as this might be coming from your PR. Thanks!

@ZhenjaHorbach
Copy link
Contributor

ZhenjaHorbach commented Apr 10, 2024

@akinwale @ZhenjaHorbach can you please check as this might be coming from your PR. Thanks!

I'm not sure if this is related to our PR)
Since in my PR we did not change any logic
We simply deleted unnecessary routes and component that were no longer used)

But I'll try to help and find where is the problem)

@luacmartins
Copy link
Contributor

I can reproduce on staging, but not locally anymore

@luacmartins
Copy link
Contributor

Hmm it only happens with certain currencies

@luacmartins
Copy link
Contributor

I think it might be coming from #39723

@luacmartins
Copy link
Contributor

Yea, found the cause

@luacmartins
Copy link
Contributor

Left a comment here - #39723 (comment)

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Apr 10, 2024
@luacmartins
Copy link
Contributor

I put up a PR, but I'm unsure if the logic makes sense. Asked the original authors for a review

@MonilBhavsar
Copy link
Contributor

@MonilBhavsar MonilBhavsar removed the DeployBlockerCash This issue or pull request should block deployment label Apr 11, 2024
@MonilBhavsar
Copy link
Contributor

Works fine!

Screen.Recording.2024-04-11.at.5.54.09.PM.mov

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production labels Apr 18, 2024
@melvin-bot melvin-bot bot changed the title Tax - Maximum tax amount is 0 error msg on updating currency for non-default tax rate [HOLD for payment 2024-04-25] Tax - Maximum tax amount is 0 error msg on updating currency for non-default tax rate Apr 18, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 18, 2024
Copy link

melvin-bot bot commented Apr 18, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Apr 18, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.62-17 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 2024-04-25. 🎊

@luacmartins
Copy link
Contributor

This was fixed internally and there was no C+ review, so we can close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Weekly KSv2
Projects
None yet
Development

No branches or pull requests

5 participants