-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 2024-12-19] [Search v1.2] - Different approval behavior when approving one held expense vs multiple held expenses #53012
Comments
Triggered auto assignment to @trjExpensify ( |
Triggered auto assignment to @madmax330 ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 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:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Expense report with held expense can be approved without the confirmation modal in Search. What is the root cause of that problem?We're checking if the report has any held transactions to open the report RHP: App/src/libs/actions/Search.ts Lines 60 to 64 in a266c4c
However, App/src/libs/actions/Search.ts Lines 52 to 56 in a266c4c
The above logic does not get the transactions from the report What changes do you think we should make in order to solve the problem?For const allReportTransactions = isReportListItemType(item) ? item.transactions : [data[`${ONYXKEYS.COLLECTION.TRANSACTION}${item.transactionID}`]]; |
@gijoe0295 were you able to find the offending PR ? |
cc @luacmartins can you have a look please I dont think this is a blocker as the feature works its just a different UX to discuss |
I agree it doesn't need to be a blocker. I'll take a look at it since my PR introduced this feature |
Just so I'm following along:
So the second one is the bug, right? |
Yea, that second one should also open the RHP |
@trjExpensify, @luacmartins Huh... This is 4 days overdue. Who can take care of this? |
Working on it this week |
PR in review |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.74-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-12-19. 🎊 |
@luacmartins @trjExpensify @luacmartins The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
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: 9.0.66-0
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Precondition:
Expected Result:
App should open expense report RHP so that approval can be done by approving the pending amount or all amount.
Actual Result:
Expense report with held expense can be approved without the confirmation modal in Search.
There is inconsistency when approving only one held expense and approving two expenses with different held status.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6674042_1732360026672.20241123_190310.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: