-
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
[HOLD for payment 2023-12-11] [$500] Workspace - When going to "Announcement" room on Specific account, app crashes #30381
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01ca71bfccfd7e64d4 |
Triggered auto assignment to @anmurali ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?Based on the logs I am assuming App/src/pages/workspace/WorkspaceInitialPage.js Lines 118 to 119 in 8fdbc4e
Since I cannot access this account I don't know why exactly What changes do you think we should make in order to solve the problem?Considering this is an edge case, I would suggest applying some checks so that we will navigate to the room only if it exists:
What alternative solutions did you explore? (Optional)We can also try to identify why the announce room is absent, but it requires access to the exact account |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace - When going to "Announcement" room on Specific account, app crashes What is the root cause of that problem?https://user-images.githubusercontent.com/59907218/278139566-09094d66-fb29-4e58-a820-79fdff29b1ad.png App/src/pages/workspace/WorkspaceInitialPage.js Lines 120 to 126 in 6c220e6
What changes do you think we should make in order to solve the problem?Change the function like this const goToRoom = useCallback(
(type) => {
const room = _.find(props.reports, (report) => report && report.policyID === policy.id && report.chatType === type && !ReportUtils.isThread(report));
if(room) Navigation.dismissModal(room.reportID)
else Navigation.dismissModal()
},
[props.reports, policy, room],
); What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.When going to "Announcement" room on Specific account, app crashes What is the root cause of that problem?i am not able to reproduce in my account so problem is App/src/pages/workspace/WorkspaceInitialPage.js Lines 120 to 126 in 6c220e6
What changes do you think we should make in order to solve the problem?we should update like this const room = _.find(props.reports, (report) => report && report.policyID === policy.id && report.chatType === type && !ReportUtils.isThread(report)) || {}; |
@Sourcecodedeveloper's proposal looks good to me. I think instead of just dismissing the modal (and not navigating anywhere), its better to not show the option at all. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @marcochavezf, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@Sourcecodedeveloper You're not supposed to create a PR until the internal engineer assigns an issue to you. Please wait for @marcochavezf to select your proposal before going ahead. |
@marcochavezf, @anmurali, @allroundexperts Huh... This is 4 days overdue. Who can take care of this? |
Hi guys, thanks for the patience here, I agree with @allroundexperts, assigning @Sourcecodedeveloper 🚀 |
📣 @allroundexperts Please request via NewDot manual requests for the Reviewer role ($500) |
📣 @Sourcecodedeveloper 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
This issue has not been updated in over 15 days. @marcochavezf, @anmurali, @allroundexperts, @Sourcecodedeveloper eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
The offer to you says it's been paid. I am closing this. Pls reopen if you're not seeing the payment. Payment Summary
|
Checklist
Regression test
While the chats are being loaded: After the chats are loaded: Do we 👍 or 👎 ? |
$500 payment to @allroundexperts based on comment above. |
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: 1.3.91-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
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:
Open the New expensify app or access staging.new.expensify.com
Sign into this specific account [email protected]
Click on Profile > Workspace > Click any workspace
Click on the 3 dot menu in the top right > Go to #announce room
Expected Result:
User expects to go to the Announce room with no issues (The admin room redirect works fine)
Actual Result:
The app crashes every time
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
Bug6250610_1698254497181.Crash.mp4
logs.txt
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @anmuraliThe text was updated successfully, but these errors were encountered: