You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$500] [MEDIUM] LHN - Green dot(IOU) disappears from WS conversation in LHN when going offline-online #33544
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.
Open New Expensify app
Log in with any account
Create new workspace
Request money on that workspace
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?
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
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.
From looking at ReconnectApp and OpenReport response, I agree with @paultsimura 's findings here and it does look like ReconnectApp calculates hasOutstandingChildRequest incorrectly.
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.
Activity
melvin-bot commentedon Dec 23, 2023
Job added to Upwork: https://www.upwork.com/jobs/~019c2e500b47b7def2
[-]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[/+]melvin-bot commentedon Dec 23, 2023
Triggered auto assignment to @Christinadobrzyn (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Dec 23, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Dec 23, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov (
External)76 remaining items
lanitochka17 commentedon Feb 12, 2024
Issue is still reproducible on the latest build 1.4.40-1
Recording.1331.mp4
BartoszGrajdek commentedon Feb 13, 2024
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.
aldo-expensify commentedon Feb 13, 2024
For some reason I'm not being able to reproduce in
mainin 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
aldo-expensify commentedon Feb 13, 2024
From looking at
ReconnectAppandOpenReportresponse, I agree with @paultsimura 's findings here and it does look likeReconnectAppcalculateshasOutstandingChildRequestincorrectly.aldo-expensify commentedon Feb 13, 2024
Reproduced in dev, the key is that the account has to have the beta
excludedFromReliableUpdates. Accounts underexpensifail.com,applause.expensifail.comand some big domains have this, so I guess that explain why @BartoszGrajdek can't reproduce.aldo-expensify commentedon Feb 13, 2024
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
Christinadobrzyn commentedon Feb 14, 2024
Yay! Exciting @aldo-expensify!
aldo-expensify commentedon Feb 14, 2024
PR was deployed
aldo-expensify commentedon Feb 14, 2024
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: trueinReconnectAppChristinadobrzyn commentedon Feb 15, 2024
hey @aldo-expensify or @alitoshmatov do we need to pay out anyone for this?
aldo-expensify commentedon Feb 15, 2024
@Christinadobrzyn not as far as I know, the backend PR wasn't reviewed by C+