-
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-07-10] [$250] Category - "Category no longer valid" shows up briefly after changing amount #43767
Comments
Triggered auto assignment to @OfstadC ( |
We think this issue might be related to the #collect project. |
ProposalPlease re-state the problem that we are trying to solve in this issue."Category no longer valid" shows up briefly after changing amount What is the root cause of that problem?We are not passing
so in here policyCategories will be null Line 5240 in 07b6b24
So that's why when here we check for App/src/libs/Violations/ViolationsUtils.ts Line 190 in 07b6b24
What changes do you think we should make in order to solve the problem?We should pass
Additionally we can also pass policyTags
We can do something like this
Note: This is just pseudocode.
We can also fix other instances of this to ensure we are passing all the data. What alternative solutions did you explore? (Optional) |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
I'm not able to reproduce on staging I've tried different currencies, having a tag field, no tag field. Clicking in to edit the expense a few different ways - but I never see the category error |
Hey @OfstadC, It's easily reproducible on staging. Try it with this precondition. |
Let me give it another shot! 😃 |
ProposalPlease re-state the problem that we are trying to solve in this issue."Category no longer valid" shows up briefly after changing amount when the selected category is valid. What is the root cause of that problem?We always call Line 2697 in 3e1d94a
Line 2700 in 3e1d94a
And then because we don't pass
What changes do you think we should make in order to solve the problem?We can see that
Line 2697 in 3e1d94a
What alternative solutions did you explore? (Optional) |
Added to Wave Collect 😃 |
Nice, this is indeed #wave-control. |
I'd open it up to the community. |
Job added to Upwork: https://www.upwork.com/jobs/~017067ba3b0cc2101a |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
@thesahindia Could you please provide an update by EOD? Thank you! |
@OfstadC, I won't be able to review this as I will be unavailable until Monday. Asking for help in the channel. |
@allgandalf, will be reviewing this. Please assign them @OfstadC. |
📣 @truph01 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@truph01 , let us know when can we expect the PR, this looks a easy fix, lets get this merged by early next week |
@allgandalf PR #44231 is ready |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 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-07-10. 🎊 For reference, here are some details about the assignees on this 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:
|
@allgandalf Could you please update this today based on the checklist? Thank you! 😃 |
Regression Test Proposal
Do we agree 👍 or 👎 |
Payment Summary: |
Leaving this open until regression testing is complete |
Same - waiting on regression testing |
@deetergp, @OfstadC, @allgandalf, @truph01 Eep! 4 days overdue now. Issues have feelings too... |
Chill a little melvin |
I'm actually going to close this out. but I'll note here if the regression testing yields anything 😄 |
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.83-0
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Precondition:
Expected Result:
There will be no violation under Category after changing amount because Category is already selected.
Actual Result:
"Category no longer valid" shows up briefly after changing amount when the selected category is valid.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6513040_1718362398903.bandicam_2024-06-14_18-44-14-234.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @OfstadCThe text was updated successfully, but these errors were encountered: