Skip to content

[HOLD for payment 2024-04-25] Tax - Maximum tax amount is 0 error msg on updating currency for non-default tax rate #40036

Closed

Description

@lanitochka17

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com 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): applausetester+1088ck@applause.expensifail.com
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

Activity

  1. melvin-bot commented on Apr 10, 2024

    @melvin-bot

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

  2. github-actions commented on Apr 10, 2024

    @github-actions
    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.
  3. lanitochka17 commented on Apr 10, 2024

    @lanitochka17
    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

  4. lanitochka17 commented on Apr 10, 2024

    @lanitochka17
    Author

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

  5. mountiny commented on Apr 10, 2024

    @mountiny
    Contributor

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

  6. ZhenjaHorbach commented on Apr 10, 2024

    @ZhenjaHorbach
    Contributor

    @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)

  7. luacmartins commented on Apr 10, 2024

    @luacmartins
    Contributor

    I can reproduce on staging, but not locally anymore

  8. luacmartins commented on Apr 10, 2024

    @luacmartins
    Contributor

    Hmm it only happens with certain currencies

  9. luacmartins commented on Apr 10, 2024

    @luacmartins
    Contributor

    I think it might be coming from #39723

  10. luacmartins commented on Apr 10, 2024

    @luacmartins
    Contributor

    Yea, found the cause

  11. luacmartins commented on Apr 10, 2024

    @luacmartins
    Contributor

    Left a comment here - #39723 (comment)

  12. 1 remaining item

  13. luacmartins commented on Apr 10, 2024

    @luacmartins
    Contributor

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

  14. MonilBhavsar commented on Apr 11, 2024

    @MonilBhavsar
    Contributor
  15. MonilBhavsar commented on Apr 11, 2024

    @MonilBhavsar
    Contributor

    Works fine!

    Screen.Recording.2024-04-11.at.5.54.09.PM.mov
  16. added
    Awaiting PaymentAuto-added when associated PR is deployed to production
    and removed on Apr 18, 2024
  17. 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[/+] on Apr 18, 2024
  18. melvin-bot commented on Apr 18, 2024

    @melvin-bot

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

  19. melvin-bot commented on Apr 18, 2024

    @melvin-bot

    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. 🎊

  20. luacmartins commented on Apr 19, 2024

    @luacmartins
    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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions