-
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-IOU- Tapping back and then next in Request Money flow shows wrong page with $0 amount, then app crashes #28707
Comments
Triggered auto assignment to @sakluger ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Android-IOU- Instead of contacts, same request amount page with 0 amount shown and app crashes. What is the root cause of that problem?This is happening because of we are trying to call App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 93 to 97 in 299e054
We are already checking if There are two instances where we are checking if we have to reset the IOU.
and Line 2252 in f2a98fc
When we select the participant and reach the confirmation page iou has id something like - What changes do you think we should make in order to solve the problem?if we just want to solve the error causing the app to crash, we shall add the check in callback of timeout for textInput is null or not. And if we want to fix the amount not able to updated we can apply following changes(this will solve app crashing as well) const shouldReset = iou.id !== moneyRequestId && !isNewReportIDSelectedLocally.current && !_.isEmpty(reportID.current); What alternative solutions did you explore? (Optional)result - Screen.Recording.2023-10-03.at.4.42.47.PM.mov |
@sakluger Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@sakluger Still overdue 6 days?! Let's take care of this! |
Good bug report, I updated the issue title to be a bit more clear. |
Job added to Upwork: https://www.upwork.com/jobs/~0123350be82c6cc62d |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
@BhuvaneshPatil's proposal looks good here. I would recommend solving the amount issue as well. 🎀 👀 🎀 C+ reviewed. |
Triggered auto assignment to @arosiclair, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @mananjadhav Please request via NewDot manual requests for the Reviewer role ($500) |
📣 @BhuvaneshPatil 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Holding this for #29468 Pressing back makes app crash |
@arosiclair @mananjadhav
Screen.Recording.2023-10-13.at.5.37.14.PM.mov |
Oh interesting. @BhuvaneshPatil just to confirm, the original bug is not reproduceable, but this new, similar issue is reproduceable? And your same proposal will fix the new issue? If that's true, then I think we should continue on with your solution, but I'd like @mananjadhav's feedback as well. |
Yes, the root cause is same. |
@mananjadhav |
I'll create the PR today |
Thanks @MitchExpensify! I'll take this one back over. |
Hello, Shall I mention this as fixed issue in PR? The doubt is because it caused a regression as well |
yeah please add this issue as well for fixed issues. |
@mananjadhav, @sakluger, @arosiclair, @BhuvaneshPatil Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@BhuvaneshPatil what's the status of your follow up PR? |
@arosiclair Sorry for delay, was caught up in situation in family. Just recording is remaining. |
raised the PR #31579 |
This issue has not been updated in over 15 days. @mananjadhav, @sakluger, @arosiclair, @BhuvaneshPatil 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! |
PR has been merged |
Automations failed it looks like. This was deployed a week ago. I think that means this is clear for payment @sakluger |
Quick bum on the payout for this one @sakluger |
Summarizing payouts for this issue: Contributor: @BhuvaneshPatil $500 (paid via Upwork) Upwork job: https://www.upwork.com/jobs/~0123350be82c6cc62d |
I'm going to close this issue out. @mananjadhav please bump me on Slack if the issue needs to be reopened for your payment. |
$500 payment approved for @mananjadhav based on summary above. |
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:
When user taps "next" from request money page, the contacts page must be displayed and app must not crash.
Actual Result:
When user taps "next" from request money page, the contacts page must be displayed. But, again the request money page is displayed with Zero amount in mweb and web. In Android, the request money page is displayed with Zero amount and then app crashes.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.76-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
Notes/Photos/Videos: Any additional supporting documentation
Bug6222926_1696319976689.mweb0.mp4
Bug6222926_1696319830423.andcrasjee.mp4
utest-dl.s3.amazonaws.com_12102_26469_432782_6222926_bugAttachment_Bug6222926_1696319226552%21crash.txt_X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20231003T101613Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Credential=AKIAJ.txt
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal team
Slack conversation: @
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: