-
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
[$250] [HOLD for payment 2024-10-24] QBO - Some Customer/projects values are trigger an error that disappears #50105
Comments
Triggered auto assignment to @kadiealexander ( |
@kadiealexander 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 |
We think that this bug might be related to #wave-collect - Release 1 |
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
cc @arosiclair I know you worked on QBO recently! |
Edited by proposal-police: This proposal was edited at 2024-10-03 05:24:47 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Customer/projects values trigger an error that disappears. This error is more visible in offline mode. What is the root cause of that problem?In this function we get the Violations for independent tags
And here we split the tag based on the colon. The problem is when we have a tag ``
The problem is when we have a tags with this structure transaction?.tag will be `Jane\:expensify test 1:testing 1` and the colon split will divide this tag into 3 based on the colon `['Jane\', 'expensify test 1', 'testing 1']`so when in here we try to match it with policy tags it will return an error. This error is fixed when we get the response from BE App/src/libs/Violations/ViolationsUtils.ts Line 113 in e61ee7f
What changes do you think we should make in order to solve the problem?Instead of using
We can do something like this
Now split will be BeforeScreen.Recording.2024-10-03.at.10.19.06.AM.movAfterScreen.Recording.2024-10-03.at.10.18.17.AM.movWhat alternative solutions did you explore? (Optional)Not recommended but alternate solution will be only in this loop we declare App/src/libs/Violations/ViolationsUtils.ts Line 110 in e61ee7f
|
Sorry I don't have much info to give on this issue specifically. Seems like a legit bug though. |
@Nodebrute's proposal looks good to me. The RCA seems to be correct and the solution makes sense as well. Let's go with them. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @MonilBhavsar, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Looks good 👍 |
|
Checklist
|
I think we should add the tests that uses special tag names with colon inside it, as this bug made to production unnoticed |
@allroundexperts can you share test instructions that test for @MonilBhavsar's case here? Thanks! |
Current assignee @kadiealexander is eligible for the Bug assigner, not assigning anyone new. |
Job added to Upwork: https://www.upwork.com/jobs/~021849320215635409078 |
Current assignee @allroundexperts is eligible for the External assigner, not assigning anyone new. |
Payouts due:
Upwork job is here. |
Reassigning to have someone raise a GH to get these requested testing steps into testrail once they're written, as I'm heading OOO! |
Triggered auto assignment to @bfitzexpensify ( |
@allroundexperts, @MonilBhavsar, @bfitzexpensify, @Nodebrute Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Bump @allroundexperts |
Regression test
Do we 👍 or 👎 ? |
Looks good to me. Closing this one out - thanks everyone! |
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: 9.0.43-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Issue reported by: Applause - Internal Team
Action Performed:
Precondition: workspace with connected QBO integration. Classes and Customers/Projects are imported via Import tab. 'Members must tag all expenses' toggle is ON.
Expected Result:
Value is applied without error
Actual Result:
An error 'Customers/Projects no longer valid' briefly appears. Sometimes an error stays until user chose another value
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6622432_1727892498454.bandicam_2024-10-02_20-57-12-446.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: