Skip to content

[Due for payment 2025-08-20] [$250] Missing violation on the expense preview and transaction thread when per diem rate is invalid #65403

Description

@jponikarchuk

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.1.74-9
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp https://expensify.testrail.io/index.php?/tests/view/6414863
Email or phone of affected tester (no customers): sdohisdojsdionjo@gmail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.5 / Chrome
App Component: Money Requests

Action Performed:

Precondition:

  • Workspace A has per diem rates.
  • Workspace B does not have per diem rates.
  1. Go to staging.new.expensify.com
  2. Go to workspace chat A.
  3. Submit a per diem expense with category to the workspace chat A.
  4. Open the expense report.
  5. Click More > Change workspace.
  6. Select Workspace B.
  7. The report preview in the main chat shows a Review button, but there is no violation on the expense preview.
  8. Open the expense report.
  9. There is no violation in the transaction thread.
  10. Submit a manual expense to the same report.
  11. Now "Rate not valid for this workspace" appears on the expense row.

Expected Result:

There should be a violation on the expense preview (Step 7) and the transaction thread (Step 9) because the report preview shows Review button instead of View button.

Actual Result:

There is no violation on the expense preview (Step 7) and the transaction thread (Step 9) when the report preview shows Review button instead of View button.

It only the the violation "Rate not valid for this workspace" on the expense row in the expense report when there are at least two expenses in the report.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021942198155306826931
  • Upwork Job ID: 1942198155306826931
  • Last Price Increase: 2025-07-14
  • Automatic offers:
    • daledah | Contributor | 108060802
Issue OwnerCurrent Issue Owner: @laurenreidexpensify

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions