Repository navigation
Description
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.2.1-12
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @VickyStash
Slack conversation (hyperlinked to channel name): #Open source
Action Performed:
- Login with the new account.
- Create a workspace.
- In the workspace chat create 2 expenses and 1 additional report
- Open any 1-1 chat and create 2 expenses as well
- Go to Reports tab -> Reports
- Using checkboxes select the expense from 1-1 chat and put in on hold.
- Using checkboxes select the expense from workspace chat and Move it to the empty report from step 3.
- Go back to the chats tab to the workspace chat. See that the expense was moved successfully.
Expected Result:
Moved expense shouldn't have "This expense was put on hold." message
Actual Result:
Moved expense has "This expense was put on hold." message. It disappears if I open the expense and go back
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
- MacOS: Desktop
Platforms Tested:
On which of our officially supported platforms was this issue tested:- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidence
bug-example-hold-message.mp4
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~021970188748148331185
- Upwork Job ID: 1970188748148331185
- Last Price Increase: 2025-09-22
- Automatic offers:
- thelullabyy | Contributor | 108866166
Metadata
Metadata
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
melvin-bot commentedon Sep 4, 2025
Triggered auto assignment to @garrettmknight (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.thelullabyy commentedon Sep 4, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Moved expense shows the "hold" violation message
What is the root cause of that problem?
When moving transaction, we attempt to retrieve their violation data via the following logic:
App/src/libs/actions/Transaction.ts
Lines 796 to 798 in db76e19
However, this code incorrectly uses the most recently updated
allTransactionViolationsvalue, rather than the specific violations related to the transactions being added. As a result, stale or unrelated violations are merged into the transactions.What changes do you think we should make in order to solve the problem?
Instead of relying on
allTransactionViolations, we should fetch the violations relevant to each transaction individually using this pattern:This ensures that only the correct violation data for each transaction is shown during the preview.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
NA
What alternative solutions did you explore? (Optional)
melvin-bot commentedon Sep 5, 2025
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue.
melvin-bot commentedon Sep 5, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @akinwale (
External)30 remaining items
melvin-bot commentedon Sep 22, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021970188748148331185
melvin-bot commentedon Sep 22, 2025
Current assignee @akinwale is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Sep 22, 2025
📣 @thelullabyy 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
garrettmknight commentedon Sep 22, 2025
Payment summary:
thelullabyy commentedon Sep 23, 2025
@garrettmknight I've accepted it. Thanks
garrettmknight commentedon Sep 23, 2025
Paid!
trjExpensify commentedon Sep 24, 2025
Confirming the payment summary is correct, per here.
garrettmknight commentedon Sep 24, 2025
$125 approved for @akinwale