Skip to content

"mergecollection" updates can get lost #46135

@aldo-expensify

Description

@aldo-expensify

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number:
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:

This was found while testing here: https://github.com/Expensify/Auth/pull/11671#issuecomment-2248437345

Action Performed:

  1. Open NewDot in an incognito window (fresh session with empty onyx)
  2. Open the chrome dev console and run the snippet:
    mergecollectionsbug-snippet.txt
  3. Go to the tab to see Onyx data and find the report report_7258727734156717

Expected Result:

The report report_7258727734156717 should be complete and contain:

{
    "chatType": "policyExpenseChat",
    "lastActorAccountID": 11039535,
    "lastMessageText": "",
    "lastReadTime": "2024-07-22 19:27:42.872",
    "lastVisibleActionCreated": "2024-07-22 19:27:42.872",
    "managerID": 0,
    "notificationPreference": "always",
    "ownerAccountID": 11039535,
    "parentReportActionID": null,
    "parentReportID": null,
    "participants": {
        "11039535": {
            "hidden": false
        },
        "11039539": {
            "hidden": false
        },
        "11039540": {
            "hidden": false
        },
        "11039541": {
            "hidden": false
        },
        "11039542": {
            "hidden": false
        },
        "11039543": {
            "hidden": false
        },
        "11039544": {
            "hidden": false
        }
    },
    "policyID": "164FF81CBF695B8D",
    "policyName": "ImTheAdmin ADMIN's Workspace",
    "reportID": "7258727734156717",
    "reportName": "Chat Report",
    "stateNum": 0,
    "statusNum": 0,
    "type": "chat",
    "visibility": null
}

Actual Result:

The report report_7258727734156717 only contains {"lastReadTime": "2024-07-22 19:27:42.872"}

image

Workaround:

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

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

View all open jobs on GitHub

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.WeeklyKSv2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions