Skip to content

[HOLD for payment 2024-07-10] [$250] [CRITICAL] [UX Reliability] Transaction chat appears in the LHN without GBR/RBR or pinned in #focus mode #43602

Closed

Description

@m-natarajan

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:
Reproducible in staging?: need reproduction
Reproducible in production?: need reproduction
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: @puneetlath
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1718138583958989

Action Performed:

  1. Set # focus mode in the preference
  2. Have paid transactions with violations
  3. Observe the LHN

Expected Result:

There should be no expense report items in the LHN without GBR RBR or pinned

Actual Result:

  • There are 3 transactions in the LHN
  • None of them have an RBR
  • They don't disappear even if they are clicked in and out
  • They all have missing translation errors
    NOTE: Included the value of the transaction, report, and violations objects

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

Screenshot 2024-06-11 at 4 42 33 PM (1)

Screenshot 2024-06-11 at 4 42 19 PM (1)

transactionViolations_997722480123927492 from Onyx

[
    {
        "type": "violation",
        "name": "tagOutOfPolicy",
        "data": {
            "tagName": "Departments"
        }
    }
]

transactions_997722480123927492 from Onyx

{
    "amount": 0,
    "billable": false,
    "cardID": 0,
    "category": "Employee Office Meals",
    "comment": {
        "comment": "",
        "dismissedViolations": {
            "rter": {
                "puneet@expensify.com": "1705617523"
            }
        }
    },
    "created": "2024-01-15",
    "currency": "USD",
    "filename": "w_268a9217f35887f71c3bee2533cc8cdb8b1727fe.png",
    "merchant": "(none)",
    "modifiedAmount": -1000,
    "modifiedCreated": "",
    "modifiedCurrency": "USD",
    "modifiedMerchant": "Joe Coffee",
    "originalAmount": 0,
    "originalCurrency": "",
    "parentTransactionID": "",
    "receipt": {
        "receiptID": 686919710,
        "state": "SCANCOMPLETE",
        "source": "https://staging.expensify.com/receipts/w_268a9217f35887f71c3bee2533cc8cdb8b1727fe.png"
    },
    "reimbursable": true,
    "reportID": "3961426678972217",
    "status": "Posted",
    "tag": "COR (Eng, Concierge, SmartScan)",
    "transactionID": "997722480123927492",
    "hasEReceipt": false
}

transaction thread report_954645210570433 from Onyx

{
    "reportID": "954645210570433",
    "reportName": "Chat Report",
    "type": "chat",
    "chatType": "",
    "ownerAccountID": 0,
    "managerID": 0,
    "policyID": "0CFE78B25EBE2A0A",
    "participants": {
        "778531": {
            "hidden": false
        },
        "9645353": {
            "hidden": true
        },
        "10903701": {
            "hidden": true
        }
    },
    "isPinned": false,
    "lastReadTime": "2024-01-18 22:39:16.297",
    "lastReadSequenceNumber": 0,
    "lastVisibleActionCreated": "2024-01-18 22:38:43.554",
    "lastVisibleActionLastModified": "2024-01-18 22:38:43.554",
    "lastMessageText": "puneet@expensify.com",
    "lastActionType": "MODIFIEDEXPENSE",
    "lastActorAccountID": "778531",
    "notificationPreference": "always",
    "stateNum": 0,
    "statusNum": 0,
    "oldPolicyName": "",
    "isOwnPolicyExpenseChat": false,
    "lastMessageHtml": "puneet@expensify.com",
    "hasOutstandingChildRequest": false,
    "hasParentAccess": true,
    "parentReportID": "3961426678972217",
    "parentReportActionID": "352424088454139504",
    "writeCapability": "all",
    "description": "",
    "total": 0,
    "unheldTotal": 0,
    "currency": "USD",
    "chatReportID": "3961426678972217",
    "isWaitingOnBankAccount": false,
    "nonReimbursableTotal": 0,
    "isCancelledIOU": false,
    "permissions": [
        "read",
        "write",
        "share"
    ],
    "welcomeMessage": "",
    "errorFields": {},
    "participantAccountIDs": [
        778531,
        9645353,
        10903701
    ],
    "visibleChatMemberAccountIDs": [
        778531
    ]
}

expense report report_3961426678972217 from Onyx

{
    "reportID": "3961426678972217",
    "reportName": "Expense Report #3961426678972217",
    "type": "expense",
    "chatType": "",
    "ownerAccountID": 778531,
    "managerID": 778531,
    "policyID": "0CFE78B25EBE2A0A",
    "participants": {
        "778531": {
            "hidden": false
        },
        "9645353": {
            "hidden": false
        },
        "9713816": {
            "hidden": false
        },
        "10903701": {
            "hidden": true
        }
    },
    "participantAccountIDs": [
        778531,
        9645353,
        9713816,
        10903701
    ],
    "visibleChatMemberAccountIDs": [
        778531,
        9645353,
        9713816
    ],
    "isPinned": false,
    "lastReadTime": "2024-05-09 19:29:49.195",
    "lastReadSequenceNumber": 0,
    "lastVisibleActionCreated": "2024-05-09 18:31:00.614",
    "lastVisibleActionLastModified": "2024-05-09 18:31:00.614",
    "lastMessageText": "accounting@expensify.com exported this report to All Transaction Data Report (E…",
    "lastActionType": "EXPORTINTEGRATION",
    "lastActorAccountID": "9645353",
    "notificationPreference": "always",
    "stateNum": 6,
    "statusNum": 4,
    "oldPolicyName": "",
    "isOwnPolicyExpenseChat": false,
    "lastMessageHtml": "accounting@expensify.com exported this report to All Transaction Data Report (Expensify/Zedra/MA/SVFG)",
    "hasOutstandingChildRequest": false,
    "hasParentAccess": true,
    "parentReportID": "2753052891533545",
    "parentReportActionID": "7707689824575329558",
    "writeCapability": "all",
    "description": "",
    "total": -5151,
    "unheldTotal": -5151,
    "currency": "USD",
    "chatReportID": "2753052891533545",
    "isWaitingOnBankAccount": false,
    "nonReimbursableTotal": 0,
    "isCancelledIOU": false,
    "avatarUrl": null,
    "permissions": [],
    "welcomeMessage": "",
    "fieldList": null,
    "invoiceReceiver": null,
    "iouReportID": null,
    "isDeletedParentAction": null,
    "lastMentionedTime": null,
    "policyAvatar": null,
    "policyName": null,
    "tripData": null,
    "visibility": null
}

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01bc533ed41d18d04f
  • Upwork Job ID: 1801673103970237987
  • Last Price Increase: 2024-06-21
  • Automatic offers:
    • ZhenjaHorbach | Reviewer | 102830239
    • truph01 | Contributor | 102830241
Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

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

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (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. MelvinBot commented on Jun 12, 2024

    @MelvinBot
    Contributor

    This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

  4. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Jun 14, 2024
  5. melvin-bot commented on Jun 14, 2024

    @melvin-bot
  6. changed the title [-]Transaction chat appears in the LHN without GBR/RBR or pinned in #focus mode[/-] [+][CRITICAL] [UX Reliability] Transaction chat appears in the LHN without GBR/RBR or pinned in #focus mode[/+] on Jun 14, 2024
  7. changed the title [-]Transaction chat appears in the LHN without GBR/RBR or pinned in #focus mode[/-] [+][$250] Transaction chat appears in the LHN without GBR/RBR or pinned in #focus mode[/+] on Jun 14, 2024
  8. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Jun 14, 2024
  9. melvin-bot commented on Jun 14, 2024

    @melvin-bot

    ⚠️ This issue has had its price increased by 4x or more. Please review the issue and ensure the price is correct.

  10. melvin-bot commented on Jun 14, 2024

    @melvin-bot

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

  11. 37 remaining items

  12. changed the title [-][$250] [CRITICAL] [UX Reliability] Transaction chat appears in the LHN without GBR/RBR or pinned in #focus mode[/-] [+][HOLD for payment 2024-07-10] [$250] [CRITICAL] [UX Reliability] Transaction chat appears in the LHN without GBR/RBR or pinned in #focus mode[/+] on Jul 3, 2024
  13. melvin-bot commented on Jul 3, 2024

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  14. melvin-bot commented on Jul 3, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2024-07-10. 🎊

    For reference, here are some details about the assignees on this issue:

  15. melvin-bot commented on Jul 3, 2024

    @melvin-bot

    BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

    • [@ZhenjaHorbach] The PR that introduced the bug has been identified. Link to the PR:
    • [@ZhenjaHorbach] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
    • [@ZhenjaHorbach] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
    • [@ZhenjaHorbach] Determine if we should create a regression test for this bug.
    • [@ZhenjaHorbach] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • [@mallenexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  16. ZhenjaHorbach commented on Jul 10, 2024

    @ZhenjaHorbach
    Contributor

    @mallenexpensify
    I do not remember exactly
    But it should be High Priority label here since this is CRITICAL issue
    Sorry if I'm wrong 😅

  17. mallenexpensify commented on Jul 11, 2024

    @mallenexpensify
    Contributor

    Contributor: @truph01 paid $250 via Upwork
    Contributor+: @ZhenjaHorbach paid $250 via Upwork.

    @ZhenjaHorbach the High Priority needs to be applied in order for the price to be auto-doubled. Details in #expensify-open-source here . Apologies for the confusion.

    @ZhenjaHorbach can you fill out the BZ checklist above? Thx

  18. ZhenjaHorbach commented on Jul 11, 2024

    @ZhenjaHorbach
    Contributor

    BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

    • [@ZhenjaHorbach] The PR that introduced the bug has been identified. Link to the PR:

    Unfortunately, I didn’t find the PR that introduced the bug

    • [@ZhenjaHorbach] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:

    NA

    • [@ZhenjaHorbach] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:

    NA

    • [@ZhenjaHorbach] Determine if we should create a regression test for this bug.
    • [@ZhenjaHorbach] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

    Regression Test Proposal

    1. Set # focus mode in the preference
    2. Have paid transactions with violations
      2.1 Create a new workspace
      2.2. Enable "Members must categorize all expenses"
      2.3. Submit a new expense without a category
      2.4. Now that expense will have "Missing category" violation
      2.5 We can see the expense has RBR in LHN
      2.6. Now pay the IOU of that expense
    3. Observe the LHN, the expense disappears.

    Do we agree 👍 or 👎

  19. mallenexpensify commented on Jul 12, 2024

    @mallenexpensify
    Contributor
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 contributorNeeds ReproductionReproducible steps needed

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions