-
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 2025-02-04]App Crash at Start of Session for New User – JavaScript Errors Observed #55357
Comments
Triggered auto assignment to @thienlnam ( |
Triggered auto assignment to @michaelkwardrop ( |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
@mountiny @VickyStash and @fabioh8010 have been discussing the solution to this in Slack. |
@VickyStash did you manage to find any spot where the report key might be wrong? |
Unfortunately, no luck. |
I still haven't defined any specific spot, but here is the sum up of what we have as for now:
|
For 3 - you need to use email without + in it. If you add + its going to concierge and not to admins as its testing email most likely (we might remove this fork, but its there now) |
@thienlnam, @michaelkwardrop Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
That truly helped to follow the correct flow, thank you! But still, I havent' found any issues during the testing. Maybe we can take a step back, and try to know why empty array values were pushed to the user ( I see there was a discussion in the slack in November and even a fix PR was merged by you @mountiny, but it looks like it's still there, do you have an idea why? It looks like for the user the crash was potentially caused by the results of |
Today I've investigated all of the potential places that could lead to the crash on the app side in the mentioned flow. I've defined two spots.
It calls
Which potentially can cause the crash.
It calls
to ReportActionItemContentCreated it's passed from PureReportActionItem, where the defaulting value is empty string
Which potentially can cause the crash. So both cases are related to the PureReportActionItem component, which defaults reportIDs to the empty strings and that can cause the crash. |
I'm going to be OOO Jan 22 - 26 ❄️ |
Thank you! The array was fixed in the flows at the time hut seems like its coming from somewhere else now, going to try to poke around to see if anyone can help us identify the flow this stems from. Its hard without reproduction steps @kubabutkiewicz can you please prioritize fixing the places @VickyStash found that might cause this crash? |
@mountiny Yes sure, I am currently testing changes so PR will be available to check soon! |
Let me know if I can do anything useful wrt reproduction, but it seems like y'all got it. |
@thienlnam, @michaelkwardrop Eep! 4 days overdue now. Issues have feelings too... |
@kubabutkiewicz how is it looking? |
The PR with PureReportActionItem component updates is prepared for the final review, it looks like it should be merged really soon. |
@mountiny @VickyStash the PR was just merged 😄 |
@thienlnam, @michaelkwardrop Still overdue 6 days?! Let's take care of this! |
Should be on production, pending 7 day regression for C+ payment |
@thienlnam @michaelkwardrop this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@thienlnam who is the C+ that needs payment here? |
@paultsimura for reviewing this PR, doesn't look like the automation worked here so I'll update it manually |
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO. |
@thienlnam, @michaelkwardrop Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Payment "summary": #55357 (comment) |
Contributor+: @paultsimura paid $250 via Upwork (https://www.upwork.com/nx/wm/offer/106011831) @paultsimura do we need a regression test for this? |
Thanks @michaelkwardrop. |
Paid, contract completed, job posted removed! Closing this out ✅ |
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:
Reproducible in staging?: Needs Reproduction
Reproducible in production?: Needs Reproduction
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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: @puneetlath
Slack conversation (hyperlinked to channel name): quality
Action Performed:
Expected Result:
The app should initialize smoothly for new users without any crashes or critical errors.
Actual Result:
The app crashes at the start of the session
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Full story Link
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @thienlnamThe text was updated successfully, but these errors were encountered: