-
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
[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, @rushatgabhane 10 days overdue. Is anyone even seeing these? Hello? |
@trjExpensify, @luacmartins, @rushatgabhane 12 days overdue now... This issue's end is nigh! |
👋 @rushatgabhane checklist time, please. Thanks! |
Same melv, awaiting the checklist. |
|
Nice, so just payment missing now? |
@trjExpensify, @luacmartins, @rushatgabhane Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Bit of a bug bear of mine, but how is "not applicable" a viable response to the question here? Please do expand on the reason why you don't think we need a regression test for this particular issue. @luacmartins has a regression test been added for this feature elsewhere? |
Payment summary as follows:
|
updated the regression test response - #53012 (comment) |
I'm not sure if we're covering this in TCs yet. @IuliiaHerets can you confirm if this bug report came from a TC or just exploration? |
CC: @kavimuru @isagoico @mvtglobally as well on that Q! |
@luacmartins Tester confirmed that find this issue by eploratory, not follow some TR step or PR |
Thanks! @IuliiaHerets can we add the OP test steps to TR please? |
@luliiaHerets any progress on that? |
@trjExpensify, @luacmartins, @rushatgabhane Whoops! This issue is 2 days overdue. Let's get this updated quick! |
I've added them to a GH for applause, they can confirm if they've been added there and close, or add them. We're done here! |
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: