-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-05-27] [Due for payment 2025-05-13] [Due for payment 2025-05-08] [$250] Reports - Unable to delete expense in Reports #61141
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
Comments
Triggered auto assignment to @stephanieelliott ( |
👋 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:
|
Triggered auto assignment to @madmax330 ( |
💬 A slack conversation has been started in #expensify-open-source |
Hmm I'm able to delete the expense fine in Chrome... 😕 |
Since nothing changed on the auth command or web command, i'm going to remove the web blocker label: |
Job added to Upwork: https://www.upwork.com/jobs/~021917546474921434343 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @akinwale ( |
I also can't seem to reproduce, asking QA to retry |
Hmm nevermind, this is reproducible on iOS mobile at least |
ProposalPlease re-state the problem that we are trying to solve in this issue.Reports - Unable to delete expense in Reports What is the root cause of that problem?From PR #60800 where the selected option is always cleared selected option after modal hidden:
Subsequently, in the delete expense logic, there's an early return if no option is selected. Since the selected expense is cleared as described above, the condition in handleDeleteExpenses is met, and the deletion does not proceed. App/src/pages/Search/SearchPage.tsx Lines 407 to 409 in d196f8e
App/src/pages/Search/SearchPage.tsx Lines 332 to 335 in d196f8e
What changes do you think we should make in order to solve the problem?We can introduce a new property to the delete dropdown action: App/src/pages/Search/SearchPage.tsx Lines 280 to 284 in d196f8e
options.push({
icon: Expensicons.Trashcan,
text: translate('search.bulkActions.delete'),
value: CONST.SEARCH.BULK_ACTION_TYPES.DELETE,
shouldCloseModalOnSelect: true,
shouldPreserveSelectionAfterHideModal: true,
... Then, in SearchSelectedNarrow, update handleOnModalHide to check this new property before clearing the selection: App/src/pages/Search/SearchSelectedNarrow.tsx Lines 29 to 36 in d196f8e
const handleOnModalHide = () => {
if (selectedOptionIndexRef.current === -1) {
return;
}
options[selectedOptionIndexRef.current]?.onSelected?.();
if(options[selectedOptionIndexRef.current]?.shouldPreserveSelectionAfterHideModal) {
return
}
clearSelectedTransactions();
}; What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Issue is still reproducible iPhone 15 Pro Max / iOS 18.4 ScreenRecording_05-01-2025.15-22-24_1.MP4Device: iPhone 12 iOS 17.5.1 IMG_0875.MP4 |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.39-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 2025-05-13. 🎊 For reference, here are some details about the assignees on this issue:
|
@rayane-d @stephanieelliott @rayane-d 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] |
Hey @rayane-d can you please complete the BZ checklist so that we can pay this on 5/8? |
Reapplying the Status: Nothing left to do here but issue payment on 5/13 |
Triggered auto assignment to @CortneyOfstad ( |
@madmax330, @CortneyOfstad, @thienlnam, @rayane-d, @linhvovan29546 Huh... This is 4 days overdue. Who can take care of this? |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:
Test:
Do we agree 👍 or 👎 |
@rayane-d — it looks like the checklist was copied, but not filled out. Can you please fill out the checklist as soon as you can so there is no delay in payment? Thanks! |
Bump @rayane-d ^^^ |
@CortneyOfstad Done! Sorry for the delay! |
Payment Summary@linhvovan29546 — paid $250 via Upwork Regression Test |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.46-12 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 2025-05-27. 🎊 For reference, here are some details about the assignees on this issue:
|
@rayane-d @CortneyOfstad @rayane-d 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] |
Requested in ND |
Uh oh!
There was an error while loading. Please reload this page.
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.1.38-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: iPhone 15 Pro Max / iOS 18.4
App Component: Search
Action Performed:
Expected Result:
The confirmation modal will close and the expense is deleted.
Actual Result:
The confirmation modal is not closed and the expense is not deleted.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6817261_1745985217143.Bug_2.mp4
Bug6817261_1745985217151.Bug_1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @CortneyOfstadThe text was updated successfully, but these errors were encountered: