Skip to content

[Violations] [$1000] Violations are not shown as approver #36441

Description

@m-natarajan

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.41-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:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @puneetlath
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1707848268463619

Action Performed:

  1. Go to OldDot staging.expensify.com and open or create a Collect policy
  2. Make tags required for the policy
  • Go to Settings > [Workspace] > Tags
  • Enable "People must tag expenses"
  • Add a tag
  1. Set violations for category as to be required
  2. Go to the policy page
  3. In the JS console with the policy open do:

p = Policy.getCurrent();
p.policy.isPolicyExpenseChatEnabled = "true";
p.save();

  1. Invite a user to the policy as employee
  2. As an employee sign in to the NewDot, create a expense report without category and tag set
  3. Open the report as approver logged in to NewDot

Expected Result:

Error message for violations are shown

Actual Result:

Not seeing violations as approver

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
Screen Shot 2024-02-13 at 5 01 52 PM

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ebca0f5b1a041068
  • Upwork Job ID: 1757526242287419392
  • Last Price Increase: 2024-02-22

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringInternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in review

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions