-
Notifications
You must be signed in to change notification settings - Fork 3k
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
IOU - The paid IOU shows a message about the disabled category #34536
Comments
👋 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:
|
Triggered auto assignment to @deetergp ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The paid IOU shows a message about the disabled category What is the root cause of that problem?This occurs as we will show a violation without checking if the Request is paid. The only condition to show a violation is the canUseViolations beta flag:
What changes do you think we should make in orderWe should check if the Request const shouldShowViolations = canUseViolations && !isSettled; Then here: {shouldShowViolations && <ViolationMessages violations={getViolationsForField('category')} />} We will do the same for other fields. |
This is not the expected behavior, so closing. Adding the source of expected behavior can be useful when logging bugs Violations seem to be working correctly here, and they're behind a beta, so even if this wasn't the expected behavior, we shouldn't block on violations for the time being |
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.25-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Preconditions:
In OldDot under admin, create a Collect group policy, enable categories and add 3 categories, add an employee to the policy.
Steps:
in incognito mode.
Expected Result:
The message about the disabled category should disappear after IOU payment
Actual Result:
The paid IOU shows a message about the disabled category
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6343587_1705353489660.Recording__1087.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: