-
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
[$250] Request Money - App crashed for specific account when requesting the money #10272
Comments
Triggered auto assignment to @AndrewGable ( |
Triggered auto assignment to @mallenexpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Current assignee @AndrewGable is eligible for the Exported assigner, not assigning anyone new. |
ProposalThis issue happens when Line 156 in f5f076a
because of prevProps.iou = undefinedSolution:
|
@aimane-chnaif if One could argue that crash is a good outcome. Because a refresh might fix temporarily fix the issue.
We should attempt to make sure that |
@rushatgabhane this is called in Line 147 in c5b3ba8
So IOUModal is still functional after setting value. The crash happens only because componentDidUpdate is called after updating this value, with these props: (prevProps.iou: undefined, this.props.iou: {selectedCurrencyCode: xxx} )
These calls are not needed on first render of IOUModal so it's safe to |
@rushatgabhane @AndrewGable I just noticed this crash already fixed by @marcaaron in internal team @marcaaron I think |
Ah hmm why would it be removed from storage? My first thought was that it was not removed, but just hasn't loaded yet. Did we observe somewhere in the code where it's possible for that to happen or just a guess? |
Theoretically, |
Okay, I don't have anything to add on this. |
Maybe there is some bug related to how that initial data is getting set or possibly a race condition related to the sign outs. Have we tried debugging? I don't quite understand the conclusion that the data is somehow related to running out of storage space. My suggestion would be to find some evidence that this happening and otherwise stay open to the possibility that the issue could be related to something else. |
I think we can close this issue though since it's a duplicate and should be fixed on my other branch. Feel free to reopen if we disagree. |
@AndrewGable, @mallenexpensify, @rushatgabhane Huh... This is 4 days overdue. Who can take care of this? |
@rushatgabhane and @marcaaron , can you help here plz? The issue is reproducible so I'm hesitant to close
What's link to other branch? Is it on staging yet? |
I would recommend that someone log into these tester accounts provided while debugging.
This one -> #10340 I think it should be on production by now... not sure how to figure that out for sure. |
Triggered auto assignment to @adelekennedy ( |
Current assignee @rushatgabhane is eligible for the External assigner, not assigning anyone new. |
Current assignee @AndrewGable is eligible for the External assigner, not assigning anyone new. |
@adelekennedy auto-assigned to you, I'm going to be OOO for a month. Thx |
@adelekennedy assigned myself and unassigned you cuz I'm NOT going to be OOO the next month ¯_(ツ)_/¯ |
Just tried to reprod with test credentials in web/Firefox and was unable to. Closing, comment/reopen if disagree |
@mallenexpensify @AndrewGable Looks like @adeel0202 is still able to repro this issue. We are not able to reproduce. Asked the team to double check as well. |
@adeel0202 is there anything different that you're doing to reproduce, vs using the steps in the OP? |
@mallenexpensify I believe the bug I reported is different from this one, considering the fact that this bug occurs only for some specific accounts while the one I reported occurs for all the accounts. The other difference between the two bugs is that the one I reported occurs when you request money quickly i.e. after entering the amount, pressing the Next button quickly two times so that you press some account on the next screen at the same time. |
Update: Just check again today and I'm no longer able to reproduce the bug I reported. I was able to reproduce when this ticket was closed and I commented on slack. But now looks like it got fixed somehow. |
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 is not crash for specific account when requesting the money
Actual Result:
App crashed for specific account when requesting the money
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.88.1
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): applausetester+0901abb@applause.expensifail.com/Feya86Katya
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Image.from.iOS.45.MP4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: