-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$500] Clicking on room name while loading crashes the app #36271
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01cd42193c8752a37e |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan ( |
Triggered auto assignment to @dylanexpensify ( |
i have solved this problem countless times in my own android app so i know the solution |
📣 @Natan-Asrat! 📣
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Clicking on room name while loading crashes the app What is the root cause of that problem?Strange that I cannot reproduce on dev Looks like we try to get a description from the report (Which is undefined ) What changes do you think we should make in order to solve the problem?I think the problem related to this line App/src/pages/ReportDetailsPage.tsx Line 73 in 4f9d415
So we can update this line like
I think this fix makes sense because I noticed that in Also, we have a similar place here App/src/pages/ReportDetailsPage.tsx Line 249 in 4f9d415
So I think it's good to check all places where we use values from What alternative solutions did you explore? (Optional)NA |
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
I think it is fixed here |
@ikevin127 you mean fixed by #25195? |
@ZhenjaHorbach if you find the case of |
Report from ONYX can be null ) I think it's easier to add a hold ) But it confuses me that we use |
yes, Onyx values are optional and agree that we should use optional chaining everywhere. |
#35153 hit staging. |
@ZhenjaHorbach thoughts on #36271 (comment)? |
I tried to reproduce the problem associated with this line) App/src/pages/ReportDetailsPage.tsx Line 73 in 4f9d415
But I didn't succeed) And there are no more crashes |
ok @dylanexpensify let's close as fixed |
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.39-0
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: @getusha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1707493474003029
Action Performed:
1.Go offline
2.Open a workspace
3.go to announce room
4.make sure the loading skeleton is shown
5.Press on the room header
Expected Result:
Opens details page
Actual Result:
App crashes
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Screen.Recording.2024-02-09.at.6.44.18.PM.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: