-
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
[$500] Android - Compose box -App crashes on sending message in offline while page is loading #30685
Comments
Triggered auto assignment to @sonialiap ( |
Job added to Upwork: https://www.upwork.com/jobs/~01459aaf4e457cbbe8 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @burczu ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes on sending message in offline while page is loading. What is the root cause of that problem?In here, the What changes do you think we should make in order to solve the problem?We need to check that What alternative solutions did you explore? (Optional)We need to check all the places that Alternatively, we can import the |
ProposalPlease re-state the problem that we are trying to solve in this issue.Sending a message while the report page is still loading (a skeleton loader is showing) will crash the app (on the Web, an error log will be thrown). What is the root cause of that problem?The error is coming from this code where we are trying to scroll to the bottom after adding a comment, but the App/src/pages/home/ReportScreen.js Lines 266 to 269 in b9e202d
What changes do you think we should make in order to solve the problem?Actually, we already have an existing logic to scroll to the bottom every time the user adds a new message using App/src/pages/home/report/ReportActionsList.js Lines 221 to 230 in b9e202d
So, we can just remove the new logic that is introduced by this PR. |
The scroll there was added for a reason, removing it will cause regressions, also it's not the root cause of this issue. I'd say let's fix this bad crash now on the correct root cause. There's a plan to address the timeout as a follow up here so we don't need to worry about that unrelated part in this issue. |
@burczu what do you think of the above proposals? |
@sonialiap I'm sorry - I was OOO last week. I'll be reviewing proposals soon. |
I've just tried to reproduce the issue but with no luck - how to do you get the loading state of the app while being offline? I'm opening the admin page but it loads normally even when forced offline... |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@tienifr Thanks for help! I've checked one more time and it seems it's not reproducible on the current Screen.Recording.2023-11-09.at.12.21.54.mp4Can someone else confirm it? |
I just tested and my android app does not crash when I send a message to a loading #admins room while "force offline" is toggled. Since multiple people cannot reproduce. Closing |
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.3.94-0
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
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
Action Performed:
Expected Result:
App must not crash on sending message in offline while page is loading.
Actual Result:
App crashes on sending message in offline while page is loading.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Bug6258828_1698803777619.crash.mp4
crash.txt
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: