Skip to content

Expense - Initial value of formula field created offline changes on report when online again #71854

@lanitochka17

Description

@lanitochka17

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.23-0
Reproducible in staging?: Y
Reproducible in production?: new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from TestRail: #71790
Email or phone of affected tester (no customers): ibellicotest+1886@gmail.com
Issue reported by: Applause - Internal Team

Action Performed:

Prerequisite: Account has at least one workspace available.

  1. Open the Expensify app.
  2. Open any workspace chat.
  3. Create a manual expense.
  4. Navigate to "Workspaces" and open the workspace where the expense was created.
  5. Tap on "Reports" and enable report fields.
  6. Upgrade the workspace level if necessary.
  7. Turn off internet connection.
  8. Tap on "Add Field"
  9. Add any name to the field.
  10. Select "Formula" as type of field.
  11. Navigate to workspace chat again and open the expense created on step 3.
  12. Note that below the formula field´s name, "{report:id}" is displayed.
  13. Turn on internet connection again.
  14. Reopen expense report.
  15. Note that now, the report field code, is displayed below the field´s name.

Expected Result:

Initial value of formula field created while offline, shouldn´t change on expense report when recovering internet connection.

Actual Result:

When creating a formula field while offline, "{report:id}" can be seen as initial value on expense report, below field´s name, and when recovering internet connection it changes to the report field´s code.

Workaround:

Unknown

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
Bug6964399_1759549395239.Value.mp4

View all open jobs on GitHub

Metadata

Metadata

Labels

BugSomething 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