-
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
Track expense-App crashes when submitting a track expense to someone #46181
Comments
Triggered auto assignment to @lschurr ( |
Triggered auto assignment to @NikkiWines ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
We think that this bug might be related to #vip-vsb |
Was able to reproduce the bug on staging, looks like the API call to SearchForReports failed, in my case it worked for the first few times but then later errored and returned no response: |
I can reproduce it on dev, but found this PR on the most recent deploy that literally aims to fix this bug #45994 Given that I don't think this is a web deploy blocker (or even a newDot blocker, I just think the bug is not wholly fixed. |
I don't think this issue comes from my PR because it doesn't change the money request flow. |
Weirdly, I'm no longer able to reproduce this on staging or dev 🤔 |
I tried and was also not able to reproduce this bug. |
Asked for a re-test here |
Tester is able to reproduce the bug. Attaching new video and it is happening only in gmail acounts 2024-07-25.20.52.46.mp4 |
Can't reproduce either locally. The console error in the video above points to this line, though the surrounding code hasn't been changed in a while. |
Oh, good thinking @francoisl. @tgolen, I see you in the code for some of the logic related to Also asked in slack here in case anyone else has worked on that more recently. |
I think I have just run into something similar in staging https://expensify.slack.com/archives/C049HHMV9SM/p1721940861100039 |
actually the type of reportAction.message is string for ACTIONABLE_MENTION_WHISPER, originalMessage seems depriciated. App/src/libs/ReportActionsUtils.ts Lines 193 to 196 in 4c18661
|
But yeah if |
I don't understand how I just tried the {
"key": "reportActions_2308535023239471",
"onyxMethod": "merge",
"value": {
"983660383098354030": {
"actionName": "ACTIONABLETRACKEXPENSEWHISPER",
"actorAccountID": 8392101,
"avatar": "https://d1wpcgnaa73g0y.cloudfront.net/894b50e60056c966d12216005fbcacec8ce5a2c0.png",
"created": "2024-07-25 21:41:48.670",
"lastModified": "2024-07-25 21:41:48.670",
"message": [
{
"html": "What would you like to do with this expense?",
"text": "What would you like to do with this expense?",
"type": "COMMENT",
"whisperedTo": []
}
],
"originalMessage": {
"html": "What would you like to do with this expense?",
"lastModified": "2024-07-25 21:41:48.670",
"transactionID": "4621430576663691334"
},
"person": [
{
"style": "strong",
"text": "Expensify Concierge",
"type": "TEXT"
}
],
"previousReportActionID": "3201231829538080024",
"reportActionID": "983660383098354030",
"shouldShow": true
}
}
} |
It is from SearchForReports
|
I think it is coming from here: https://github.com/Expensify/Web-Expensify/pull/42853/files#diff-7a032f7284c8b42392fb9715c5196b05b34ebeb369ee31387f702a26980eb792R6566 It works correctly in the OpenApp flow, but not in the SearchForReports |
Ooooh great find - you have to search for your own email to be able to reproduce. That PR was deployed to production 6 hours ago and I can repro the crash on production too. We should probably revert it tbh. |
We're going to cherry-pick a backend fix for this to staging and production now. Thanks @ishpaul777 and @rlinoz for helping look into this 🙌 |
CP has installed on prod 👍 |
@francoisl confirmed here that this resolved the issue 🎊 🚀 ❤️ |
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: 9.0.12-0
Reproducible in staging?: y
Reproducible in production?: no
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4764744
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:
User is able to select an email address and finish the flow of submitting to someone
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
Bug6552370_1721895866499.2024-07-25_11_13_10.mp4
Bug6552370_1721896458336!staging.new.expensify.com-1721896427037.txt
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: