Skip to content

Split - Unable to edit a split with $0.00 amount after syncing between OD and ND #81615

Description

@vincdargento

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.15-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #81240
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Bug source: Pull Request QA execution
Device used: Windows 10
App Component: Money Requests

Action Performed:

  1. Go to workspace chat.
  2. Create an expense.
  3. Open the expense.
  4. Click More > Split > Save.
  5. Log in to the same account on OD.
  6. On OD, open the report with split expenses.
  7. On OD, open any split, change the amount to 0 and save it.
  8. Return to ND and refresh the same report on ND.
  9. Open the non-zero split.
  10. Click Amount.
  11. Click on the split row with 0.00 amount and edit it.

Expected Result:

The split with a $0.00 amount should be editable. Updating the amount to zero or a non-zero value should not trigger validation errors, as long as the total matches the original expense.

Actual Result:

When changing the $0.00 split to a non-zero amount, an error appears: “Total amount is $x.xx greater than the original expense.”

When changing the amount back to $0.00, another error appears: “Please enter a valid amount before continuing.”

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

bug.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @akinwale

Activity

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded 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