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-07] [$250] Dupe detect - Removed expense during review offline is accessible & fields open not here page #45917
Version Number: 9.0.10-2 Reproducible in staging?: Y Reproducible in production?: N If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
Action Performed:
Go to staging.new.expensify.com
Go to workspace chat
Submit two same expenses (same amount. date and merchant)
Go to any transaction thread
Go offline
Click Review duplicates
Click Keep this one (any)
On confirmation page, click Confirm
Return to the expense report
Click on the expense preview with skeleton
Expected Result:
The expense which is removed during duplicate review offline should be crossed out and inaccessible
Actual Result:
The expense which is removed during duplicate review offline is accessible and all the fields in the transaction thread lead to not here page
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.
That PR fixes this issue, and I was working on fixing related issues where the total on the expense report and policyExpenseChat are not optimistically updated to account for the merged dupes. I think I may have fixed it but didn't get a chance to test it
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.14-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@brunovjk] The PR that introduced the bug has been identified. Link to the PR:
[@brunovjk] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@brunovjk] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@brunovjk] Determine if we should create a regression test for this bug.
[@brunovjk] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@OfstadC] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
[@brunovjk] The PR that introduced the bug has been identified. Link to the PR: N/A
[@brunovjk] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/A
[@brunovjk] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
[@brunovjk] Determine if we should create a regression test for this bug. Yes
[@brunovjk] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Regression Test Proposal:
Sign in
Create a workspace if needed
Submit two duplicate expenses to the policy expense chat for that workspace
Open the expense thread for one of the violations (it should appear in the LHN with a red dot)
Go offline
Click Resolve Duplicates
Pick either one of the duplicate transactions then confirm
verify that the total of the report updates correctly in the LHN.
Click on the workspace chat.
verify that there's no skeleton action for the removed expense
verify that the expense report preview shows the correct total
Activity
melvin-bot commentedon Jul 22, 2024
Triggered auto assignment to @roryabraham (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.github-actions commentedon Jul 22, 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:
MariaHCD commentedon Jul 22, 2024
@lanitochka17 just to confirm, this bug is not reproducible on production? Do you have a recording of the behavior on production?
roryabraham commentedon Jul 22, 2024
was able to reproduce this one locally
roryabraham commentedon Jul 22, 2024
The problem here is that in
IOU.mergeDuplicateswe need to also optimistically delete the IOU reportActions for the transactions marked as duplicatesroryabraham commentedon Jul 22, 2024
A broad set of changes will be required here:
lastMessageTextandlastMessageHTMLfor thepolicyExpenseChatmessage.deletedfor the IOU action on the expense reportmessage[0].textandmessage[0].htmlfor theREPORT_PREVIEWaction in thepolicyExpenseChatMoneyRequestActioncomponent to return null if the action is deletedroryabraham commentedon Jul 22, 2024
WIP PR to fix this issue: #45961
francoisl commentedon Jul 23, 2024
Any luck with that PR @roryabraham?
roryabraham commentedon Jul 23, 2024
That PR fixes this issue, and I was working on fixing related issues where the total on the expense report and policyExpenseChat are not optimistically updated to account for the merged dupes. I think I may have fixed it but didn't get a chance to test it
29 remaining items
melvin-bot commentedon Jul 31, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 31, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.14-6 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-08-07. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 31, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
OfstadC commentedon Aug 6, 2024
@brunovjk Please complete the checklist today so we can issue payment tomorrow 😃
brunovjk commentedon Aug 6, 2024
Regression Test Proposal:
Resolve DuplicatesDo we agree 👍 or 👎
OfstadC commentedon Aug 7, 2024
@brunovjk I sent you a manual offer in Upwork - can you accept? 😃 Thanks!
OfstadC commentedon Aug 7, 2024
https://www.upwork.com/nx/wm/offer/103433638
brunovjk commentedon Aug 7, 2024
Done @OfstadC, thank you
melvin-bot commentedon Aug 7, 2024
Payment Summary
Upwork Job
BugZero Checklist (@OfstadC)
OfstadC commentedon Aug 7, 2024
https://github.com/Expensify/Expensify/issues/418708
Closing since regression test was created and Upwork contract has been paid/closed