[CP staging] Fix missing create options from new IOU report - #71712
Conversation
|
@chuckdries Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
[CP staging] Fix missing create options from new IOU report (cherry picked from commit d9c0881) (cherry-picked to staging by Julesssss)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 9.2.21-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.2.21-4 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.2.21-4 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 9.2.22-1 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.2.22-6 🚀
|
Explanation of Change
For some reason the personal details are sent incorrectly when creating an expense. We can fix that later, but the linked issue is a deploy blocker and doesn't seem to be caused by any recent backend changes based on my testing.
When getting the menu items we check if the current user can create a money request, but due to the messed up personal details we were using the wrong current user accountID. We already have a proper variable for that, so using that instead fixes the problem. See the debugging evidence in the issue comments.
More investigation is needed but this fixes the problem at hand for now.
Fixed Issues
$ #71635
PROPOSAL:
Tests
2025-10-01_14-57-15.mp4
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
I did not add unit tests so that we could get this fixed quicker since it is a deploy blocker.
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
I only tested on Mac, Chrome because the changes should be platform independent.
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop