You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IOU - Infinite loading spinner appears when split bill with invalid phone number #8308
👋 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:
Identify the pull request that introduced this issue and revert it.
Activity
OSBotify commentedon Mar 24, 2022
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
StagingDeployCashdeploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:melvin-bot commentedon Mar 24, 2022
Triggered auto assignment to @nkuoch (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.melvin-bot commentedon Mar 24, 2022
Triggered auto assignment to @roryabraham (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.roryabraham commentedon Mar 24, 2022
👀 Lettuce see what needs to be done here
roryabraham commentedon Mar 24, 2022
Can't reproduce this on dev, which is a good sign 😄
roryabraham commentedon Mar 24, 2022
Not able to reproduce this on staging either 😕
rushatgabhane commentedon Mar 25, 2022
Issue is reproducible on staging AND dev.
Cause: because the phone number is invalid,
response.reportIDis undefined.App/src/libs/actions/IOU.js
Line 145 in 7f6c228
It isn't handled over here because the response has now changed.
App/src/libs/actions/IOU.js
Lines 148 to 151 in 3278ba1
Screen.Recording.2022-03-25.at.5.25.35.AM.mov
rushatgabhane commentedon Mar 25, 2022
@roryabraham This deploy blocker isn't caused by #8019
It's caused by #8087, because reverting it fixes this issue.
Proposal
Return early on error, and nest the promise.
This diff should make it clear - https://github.com/rushatgabhane/Expensify-App/commit/b616725259ab2e5d2b6a498af55330273e41a214
cc: @marcaaron is nested promise something we wanna do?
rushatgabhane commentedon Mar 25, 2022
I'm gonna take the liberty of creating a PR since it's an hourly ticket.
roryabraham commentedon Mar 25, 2022
I wonder why I wasn't able to reproduce it in either environment... 😕
Thanks for the PR @rushatgabhane 🦸
roryabraham commentedon Mar 25, 2022
@Expensify/applauseleads please retest this in
1.1.46-1, and close it if no longer reproducible 🙏