Skip to content

[$500] [MEDIUM] LHN - Green dot(IOU) disappears from WS conversation in LHN when going offline-online #33544

Closed

Description

@izarutskaya

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: 1.4.16-3
Reproducible in staging?: Y
Reproducible in production?: N
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: Applause-Internal Team
Slack conversation: @

Action Performed:

⚠️ To reproduce you need an account that has the beta: excludedFromReliableUpdates.

  1. Open New Expensify app
  2. Log in with any account
  3. Create new workspace
  4. Request money on that workspace
  5. Go to offline mode and after a few seconds return to online mode

Expected Result:

The IOU green dot must be present in the LHN in any mode of operation until the IOU request is paid or an IOU error occurs.

Actual Result:

The green dot IOU disappears from the LHN if the user goes offline and comes back online.

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

Bug6324826_1703328627225.Recording__981.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~019c2e500b47b7def2
  • Upwork Job ID: 1738525487918645248
  • Last Price Increase: 2024-01-31

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    ExternalAdded to denote the issue can be worked on by a contributor
    BugSomething is broken. Auto assigns a BugZero manager.
    on Dec 23, 2023
  2. melvin-bot commented on Dec 23, 2023

    @melvin-bot
  3. changed the title [-]LHN - Green dot(IOU) disappears from WS conversation in LHN when going offline-online[/-] [+][$500] LHN - Green dot(IOU) disappears from WS conversation in LHN when going offline-online[/+] on Dec 23, 2023
  4. melvin-bot commented on Dec 23, 2023

    @melvin-bot

    Triggered auto assignment to @Christinadobrzyn (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  5. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Dec 23, 2023
  6. melvin-bot commented on Dec 23, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  7. melvin-bot commented on Dec 23, 2023

    @melvin-bot

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

  8. 76 remaining items

  9. lanitochka17 commented on Feb 12, 2024

    @lanitochka17

    Issue is still reproducible on the latest build 1.4.40-1

    Recording.1331.mp4
  10. BartoszGrajdek commented on Feb 13, 2024

    @BartoszGrajdek
    Contributor

    Well, that's strange. I tested it by trying both steps found here and here. I also tried it on multiple browsers just to be sure and I still couldn't reproduce the problem.

    Maybe I'm missing something, or this is some edge case and we still haven't figured out all the necessary steps. I'm attaching a video of how it behaves for me (build 1.4.40-4) @lanitochka17 let me know if there's anything I have done incorrectly there.

  11. aldo-expensify commented on Feb 13, 2024

    @aldo-expensify
    Contributor

    For some reason I'm not being able to reproduce in main in my dev environment but I was able to reproduce in https://staging.new.expensify.com/

    Screen.Recording.2024-02-13.at.11.14.10.AM.mov
  12. aldo-expensify commented on Feb 13, 2024

    @aldo-expensify
    Contributor

    From looking at ReconnectApp and OpenReport response, I agree with @paultsimura 's findings here and it does look like ReconnectApp calculates hasOutstandingChildRequest incorrectly.

  13. aldo-expensify commented on Feb 13, 2024

    @aldo-expensify
    Contributor

    Reproduced in dev, the key is that the account has to have the beta excludedFromReliableUpdates. Accounts under expensifail.com , applause.expensifail.com and some big domains have this, so I guess that explain why @BartoszGrajdek can't reproduce.

  14. aldo-expensify commented on Feb 13, 2024

    @aldo-expensify
    Contributor

    I have a fix here https://github.com/Expensify/Auth/pull/9929, I just need to add the tests and I'll make it ready for review

  15. Christinadobrzyn commented on Feb 14, 2024

    @Christinadobrzyn
    Contributor

    Yay! Exciting @aldo-expensify!

  16. aldo-expensify commented on Feb 14, 2024

    @aldo-expensify
    Contributor

    PR was deployed

  17. aldo-expensify commented on Feb 14, 2024

    @aldo-expensify
    Contributor

    Tested and now it is working:

    Screen.Recording.2024-02-14.at.12.42.17.PM.mov

    In the video we can see that the policyExpenseChat (reportID: 2130476157825373) comes with hasOutstandingChildRequest: true in ReconnectApp

  18. Christinadobrzyn commented on Feb 15, 2024

    @Christinadobrzyn
    Contributor

    hey @aldo-expensify or @alitoshmatov do we need to pay out anyone for this?

  19. aldo-expensify commented on Feb 15, 2024

    @aldo-expensify
    Contributor

    @Christinadobrzyn not as far as I know, the backend PR wasn't reviewed by C+

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.DailyKSv2EngineeringInternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in review

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions