Skip to content

[HOLD for payment 2024-12-09] [Xero] Prevent making an unnecessary API call if the value hasn't changed #53128

@lakchote

Description

@lakchote

Version Number: v9.0.66-7
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N
Email or phone of affected tester (no customers): lucien+xero@expensifail.com
Logs: NA
Expensify/Expensify Issue URL: NA
Issue reported by: @mkzie2
Slack conversation (hyperlinked to channel name): NA

Action Performed:

Prerequisite: having the browser's console open

  1. Connect Xero to a Workspace
  2. Go to Advanced
  3. Click on Map Xero Region to (or whatever name the tracking category has)
  4. Select the same value already selected

Expected Result:

An API call isn't made if the value hasn't changed

Actual Result:

An API call is made even though the value hasn't changed

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Yes

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Video
Screen.Recording.2024-11-19.at.22.54.29.mov
Issue OwnerCurrent Issue Owner: @JmillsExpensify

Metadata

Metadata

Labels

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

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions