Skip to content

"Rate not valid for this workspace" error after deleting the rate in Duplicated Workspace #69835

@jponikarchuk

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.2.1-11
Reproducible in staging?: Yes
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from TestRail: #69146
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Device used: MacBook Air 15.6 Chrome, iPhone 15 iOS 18.6 Safari
App Component: Money Requests

Action Performed:

  1. Sign in to ND with expensifail account
  2. Create a workspace, add a new distance rate
  3. Create a distance expense with a new rate
  4. Navigate to the Workspaces tab, duplicate the workspace including distance rates
  5. Open the duplicate workspace settings and delete the new rate
  6. Navigate to the chat of the original workspace, observe the distance expense preview

Expected Result:

"Rate not valid for this workspace" error is not shown, when the rate is deleted in another workspace

Actual Result:

"Rate not valid for this workspace" error is displayed on the distance expense preview in the original WS chat after deleting the rate in the Duplicate WS. The same issue occurs, if the expense created in the Duplicate WS, and the rate is deleted in the original WS. The error is displayed in the expense details after opening, then disappears.

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

Issue OwnerCurrent Issue Owner: @mallenexpensify

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2Engineering

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions