-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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] Taxes - id_TAX_EXEMPT appears in the list when there are more than 8 tax rates #39825
Comments
Triggered auto assignment to @srikarparsi ( |
👋 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:
|
We think that this bug might be related to #wave-collect - Release 1 |
@srikarparsi 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 |
Regression from #39059, you take the value of default tax rate as default external ID:
But, in api response the default external ID is: And the when we select the selected tax rate:
We check for We should instead do: const selectedTaxRate = TransactionUtils.getDefaultTaxName(taxRates, transaction); |
@SzymczakJ @jjcoffee are you able to take a look at this? |
Working on testing if reverting the TS migration fixes the issue. VM is having some problems so taking a bit. |
Hey @luacmartins and @MonilBhavsar, saw that you demoted this tax issue since it's coming from a new feature. This one seems very related as the code that's causing the discrepancy is selectedTaxRate. Should we demote this one as well? I'm currently working on trying to revert the TS Migration PR in case it's related to that but am not able to do it on Web so trying to do it locally. But wanted to ask in the meantime. |
Figured out a fix here |
Checked to see if any C+ is able to review the fix |
Still looking at this, I've been having VM problems so it's taking a little longer. Thought I had resolved them but still occurring. |
I narrowed it down to this sections variable. When printed, it has id_TAX_EXEMPT as it's own sections and the remaining taxes in a different section. I also found that when you select a different tax value and then the default tax exempt one, the bug no longer exists. So maybe it's something to do with a different id? |
The bug also doesn't exist for less than 8 tax rates because of this block here |
Hi, I'm Eto from Callstack - expert contributor group - and I would like to take care of this issue. |
This issue is currently handled in this PR: #39723 |
Ah cool, see that you had a similar fix
Assigning you to the issue |
Demoting this issue from blocker, as we need to have atleast 8 tax options and it's a specific case. |
PR is merged |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
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. 🎊 For reference, here are some details about the assignees on this issue:
|
Issue is ready for payment but no BZ is assigned. @puneetlath you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
Payment Summary
BugZero Checklist (@puneetlath)
|
Payment summary:
Thanks everyone! |
$250 approved for @allroundexperts |
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.61-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
Issue reported by: Applause - Internal Team
Action Performed:
Precondition:
Expected Result:
The selected default tax exempt will appear on top
Actual Result:
id_TAX_EXEMPT appears at the top of the list. This issue only occurs when there are more than 8 tax rates
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6442199_1712581120324.tax.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: