-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$1000] App crashed when revisiting thread from left room #26256
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @jasperhuangg ( |
Triggered auto assignment to @CortneyOfstad ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes when revisiting a thread from left room What is the root cause of that problem?When we leave the room, the API returns the following data, that is, clears the room report When we revisit the chat thread after that, the App/src/pages/home/report/ReportActionItem.js Lines 136 to 137 in cb98bec
When rendering mini context menu, we call App/src/pages/home/report/ReportActionItem.js Line 565 in cb98bec
and Lines 2895 to 2897 in cb98bec
This is the root cause What changes do you think we should make in order to solve the problem?We can use
This works as expected What alternative solutions did you explore? (Optional) |
Post the proposal where I'm the reporter, I think @izarutskaya forgot to post it 🤦 ProposalPlease re-state the problem that we are trying to solve in this issue.App crashed when revisiting thread from left room. What is the root cause of that problem?When leave a room, we merge our report to null here: App/src/libs/actions/Report.js Line 1812 in 893c2a5
Later when we use it here, our App/src/pages/home/report/ReportActionItem.js Line 135 in 893c2a5
It will lead the App to crash here: Lines 2734 to 2736 in 893c2a5
What changes do you think we should make in order to solve the problem?We can use const participantAccountIDs = lodashGet(report, 'participantAccountIDs', []);
// then use `participantAccountIDs` after that. Or we can add more condition here to early return if return report && report.participantAccountIDs && _.contains(report.participantAccountIDs, CONST.ACCOUNT_ID.CHRONOS); What alternative solutions did you explore? (Optional)N/A |
Job added to Upwork: https://www.upwork.com/jobs/~011ed400862f0d676e |
Current assignee @CortneyOfstad is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @robertKozik ( |
Hi all @s-alves10 @hungvu193 ! I wanted to check your proposals but I have problems with reproduction. Could you check on your end that it's still reproducible? Screen.Recording.2023-08-31.at.13.40.44.mov |
@hungvu193 No worries about your proposal. |
Thanks for confirming @kbecciv 🙇🏼♂️ |
I could not reproduce the bug too. |
@hungvu193 Are you still able to reproduce this? |
I also couldn't reproduce |
@CortneyOfstad, @luacmartins, @robertKozik Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@luacmartins @robertKozik Since this doesn't seem to be reproducible, good to close? |
I think if we can't reliably reproduce this we should just close the issue |
For a few mins, please |
Yes. I wasn't able to reproduce this. Sorry |
Ok, gonna close this issue. Thanks for the discussion! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
App shouldn't be crashed
Actual Result:
App crashed when revisiting thread from left room.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.58-3
Reproducible in staging?: Y
Reproducible in production?: Y
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
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-08-22.At.17.15.56.mp4
Recording.1369.mp4
Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692703142297279
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: