Skip to content

[HOLD for payment 2024-11-14] [$250] Report Field- Report fields values do not update on system message until refresh the page #50020

Closed

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.0.41-10
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): testpayment935+223@gmail.com
Issue reported by: Applause - Internal Team

Action Performed:

Preconditions: Existing workspace with report fields enabled and report fields set up

  1. Navigate to workspace chat
  2. Create new manual expense
  3. Open the expense and submit it
  4. Change Description
  5. Change any of the report fields value
  6. Notice the system messages for the changes
  7. Refresh the page and notice the change in system message

Expected Result:

Report fields values update shown on system message instantly

Actual Result:

Report fields values update doesn't shown on system message instantly until refreshed

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6621407_1727807730250.Letter_Edit_came_after_refresh.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021841468586674370606
  • Upwork Job ID: 1841468586674370606
  • Last Price Increase: 2024-10-02
  • Automatic offers:
    • nkdengineer | Contributor | 104262442
Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Oct 1, 2024
  2. melvin-bot commented on Oct 1, 2024

    @melvin-bot

    Triggered auto assignment to @sonialiap (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. lanitochka17 commented on Oct 1, 2024

    @lanitochka17
    Author

    @sonialiap FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

  4. nkdengineer commented on Oct 2, 2024

    @nkdengineer
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Report fields values do not update on system message until refresh the page

    What is the root cause of that problem?

    When we edit the report field, BE doesn't return the report field in response and we also don't create the optimistic action for the change field action.

    What changes do you think we should make in order to solve the problem?

    In updateReportField function, we should create an optimistic change field action follow the action that BE returns and reset it in failure data or set an error. We also need to send reportActionID of the optimistic change field action to the payload of Report_SetFields API then BE can use this ID to generate the change field action from BE.

    function updateReportField(reportID: string, reportField: PolicyReportField, previousReportField: PolicyReportField) {

    What alternative solutions did you explore? (Optional)

  5. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Oct 2, 2024
  6. changed the title [-]Report Field- Report fields values do not update on system message until refresh the page[/-] [+][$250] Report Field- Report fields values do not update on system message until refresh the page[/+] on Oct 2, 2024
  7. melvin-bot commented on Oct 2, 2024

    @melvin-bot
  8. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Oct 2, 2024
  9. melvin-bot commented on Oct 2, 2024

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif (External)

  10. aimane-chnaif commented on Oct 2, 2024

    @aimane-chnaif
    Contributor

    @nkdengineer proposal looks good to me.
    Also requires fix in BE
    🎀👀🎀 C+ reviewed

  11. 66 remaining items

  12. sonialiap commented on Dec 13, 2024

    @sonialiap
    Contributor

    Still OOO

  13. sonialiap commented on Dec 23, 2024

    @sonialiap
    Contributor

    @aimane-chnaif please reopen and ping me once you're back so that I can complete payment :)

  14. mallenexpensify commented on Nov 11, 2025

    @mallenexpensify
    Contributor

    @aimane-chnaif can you please accept the job below? Please reply here and tag me once you have.
    https://www.upwork.com/jobs/~021988044996911695723

  15. mallenexpensify commented on Nov 11, 2025

    @mallenexpensify
    Contributor

    Payment Summary

    Contributor+: @aimane-chnaif paid $250 via Upwork

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions