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
[HOLD for payment 2024-08-19] [$250] iOS - Distance split - App crashes after opening split distance expense receipt #47022
Issue found when validating #42302 Version Number: 9.0.18.0 Reproducible in staging?: Yes Reproducible in production?: New Feature If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers):applausetester+0708pm1e@applause.expensifail.com Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause Internal Team Slack conversation:
Action Performed:
Open the app and log in
Navigate to a group chat
Tap + > Split expense > Distance
Enter the start and finish viewpoints and complete creating a split expense
Open the receipt
Expected Result:
The receipt is displayed
Actual Result:
The app crashes
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
👋 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
melvin-bot commentedon Aug 8, 2024
Triggered auto assignment to @techievivek (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Aug 8, 2024
Triggered auto assignment to @joekaufmanexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.github-actions commentedon Aug 8, 2024
👋 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:
dominictb commentedon Aug 8, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
The app crashes
What is the root cause of that problem?
Let's see the optimistic receipt data here, the source is a static image and for IOS native the type of this source is a number.
App/src/libs/actions/IOU.ts
Line 3869 in 53eee53
It leads to the optimistic
filenameis a number,App/src/libs/TransactionUtils/index.ts
Line 166 in 53eee53
Then the app crashes when we use the check
Str.isPDF(receiptFilename)here because in this function we have a logicurl.split('.')What changes do you think we should make in order to solve the problem?
We should cast the
receiptFilenameto string when we use theStr.isPDFhereApp/src/components/MoneyRequestConfirmationListFooter.tsx
Line 533 in 53eee53
What alternative solutions did you explore? (Optional)
We can cast the
filenameto String hereApp/src/libs/TransactionUtils/index.ts
Line 166 in 53eee53
30 remaining items
joekaufmanexpensify commentedon Aug 16, 2024
Checklist complete. All set to issue payment on Monday. We need to pay:
shubham1206agra commentedon Aug 16, 2024
@joekaufmanexpensify I was not the C+ on previous issue 😄
It was @mananjadhav
joekaufmanexpensify commentedon Aug 16, 2024
Ah, okay. I saw you listed in the assignees of the PR, but see now that was just as a commenter. Adjusted checklist!
joekaufmanexpensify commentedon Aug 19, 2024
All set to issue payment here!
joekaufmanexpensify commentedon Aug 19, 2024
@shubham1206agra could you please accept the offer so we can pay you?
joekaufmanexpensify commentedon Aug 19, 2024
@dominictb $250 sent and contract ended!
shubham1206agra commentedon Aug 19, 2024
@joekaufmanexpensify Offer accepted
joekaufmanexpensify commentedon Aug 19, 2024
@shubham1206agra $250 sent and contract ended!
joekaufmanexpensify commentedon Aug 19, 2024
Upwork job closed.
joekaufmanexpensify commentedon Aug 19, 2024
All set, thanks everyone!