Skip to content
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

Empty reports left for approval when all expenses are rejected to and Instant Submit is enabled #55075

Open
garrettmknight opened this issue Jan 10, 2025 · 2 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff

Comments

@garrettmknight
Copy link
Contributor

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: All
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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: @JmillsExpensify
Slack conversation (hyperlinked to channel name): expense

Action Performed:

  1. Create a workspace
  2. Enable approvals
  3. Invite a submitter
  4. As the submitter, create an expense
  5. As the approver, reject the individual expense in Classic

Expected Result:

When the last transaction is removed from a report, the report should be automatically deleted so long as there aren't any user comments on it. If there are user comments, the report should be changed to a chat report. This ensures that we maintain any relevant context and that approvers are not left with empty reports requiring approval.

Actual Result:

The report remains in the approval queue, empty and requiring action from the approver.

Workaround:

N/A

Platforms:

All

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

@garrettmknight garrettmknight added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 10, 2025
Copy link

melvin-bot bot commented Jan 10, 2025

Triggered auto assignment to @JmillsExpensify (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.

@garrettmknight
Copy link
Contributor Author

Note that this is similar to #54787; however, the trigger is the approver rejecting instead of an expense merging on SmartScan so it likely needs to be handled in a different command.

@garrettmknight garrettmknight added the Internal Requires API changes or must be handled by Expensify staff label Jan 10, 2025
@garrettmknight garrettmknight moved this to Hold for Payment in [#whatsnext] #expense Jan 10, 2025
@garrettmknight garrettmknight moved this from Hold for Payment to Bugs and Follow Up Issues in [#whatsnext] #expense Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff
Projects
Status: Bugs and Follow Up Issues
Development

No branches or pull requests

2 participants