Skip to content

Rules - Existing expenses not updated after applying merchant rule and no system message #82914

@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: v9.3.22-1
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 BrowserStack: #82438
Email or phone of affected tester (no customers): applausetester+piyomn@applause.expensifail.com
Issue reported by: Applause Internal Team
Bug source: Pull Request QA execution
Device used: iPhone 13 / iOS 18.7.1, Samsung Galaxy A52 / Android 14, Windows 11 / Chrome
App Component: Workspace Settings

Action Performed:

Preconditions: account has at least one workspace with rules in more feature enabled

Steps:

  1. Create several unsubmitted expenses with merchant "Starbucks" (I created 3 expenses)
  2. Navigate to workspace setting -> Rules -> Add merchant rule
  3. Create the merchant rule with "Starbucks" as the merchant, configure description and any categories except "Meals and Entertainment" (I choose "materials" for categories)
  4. Toggle on the "apply to existing unsubmitted expenses"
  5. Click the "Preview matches" button to make sure there's unsubmitted expenses there and and save it
  6. Navigate to the workspace chat
  7. Click on the newly created report with several expenses
  8. Click on any individual expense

Expected Result:

  • in step 6, merchant should updated to "Materials", like the description that auto updated to "Jajan" after "Apply to existing unsubmitted expenses" is toggled on in Step 4
  • in step 7, there should be a system message appeared on the update expenses since the description is updated.

Actual Result:

  • in step 6, merchant doesn't updated to "Materials" like the description that auto updated to "Jajan" after "Apply to existing unsubmitted expenses" is toggled on in Step 4
  • in step 7, the system message doesn't appeared on the update expense. there's only concierge system message from the original auto selected category before the merchant rule applied.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

1.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @luacmartins

Metadata

Metadata

Assignees

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringReviewingHas a PR in review

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions