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

[Hold] RTER Pending Expense - RTER Pending expense is not moved to new report when it's approved #47511

Open
6 tasks
isagoico opened this issue Aug 15, 2024 · 42 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Internal Requires API changes or must be handled by Expensify staff Weekly KSv2

Comments

@isagoico
Copy link

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: v9.0.20-6

Reproducible in staging?: Yes
Reproducible in production?: Yes

If this was caught during regression testing, add the test name, ID and link from TestRail: https://github.com/Expensify/Expensify/issues/403524#issuecomment-2290080995

Email or phone of affected tester (no customers): [email protected]

Logs: https://stackoverflow.com/c/expensify/questions/4856

Issue reported by: Applause - Internal team
Slack conversation:

Action Performed:

Preconditions: a workspace with scheduled submit enabled, a employee and admin and the employee has a company card assigned.

  1. In an account that has a domain controlled company card (not Expensify Card)
  2. Submit a expense via scan in the workspace chat
  3. Wait for the smartscan to finish
  4. Verify the expense has pending status
  5. In the workspace chat, submit a manual expense
  6. Submit the report
  7. As the approver - Approve the report

Expected Result:

The pending expense should be moved to a new Report.

Actual Result:

The pending expense is not moved to a new report and it still has the Pending Status.

Below are the details of a report with this issue:
Account: [email protected]
Report ID: 8189390567239041
Transaction ID: 6273679857286185

Workaround:

N/A

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

image

image

View all open jobs on GitHub

@isagoico isagoico added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 15, 2024
Copy link

melvin-bot bot commented Aug 15, 2024

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

@trjExpensify
Copy link
Contributor

Going to drop off this one, Gents. I'm sure you know what you're doing :)

@trjExpensify trjExpensify removed their assignment Aug 15, 2024
@melvin-bot melvin-bot bot added the Overdue label Aug 19, 2024
Copy link

melvin-bot bot commented Aug 19, 2024

@JmillsExpensify, @yuwenmemon Whoops! This issue is 2 days overdue. Let's get this updated quick!

@yuwenmemon
Copy link
Contributor

Looking today

@melvin-bot melvin-bot bot removed the Overdue label Aug 20, 2024
@JmillsExpensify
Copy link

This is coming up with customers btw. More in Slack.

@yuwenmemon yuwenmemon changed the title Pending Expense - Pending expense is not moved to new report when it's approved RTER Pending Expense - RTER Pending expense is not moved to new report when it's approved Aug 21, 2024
@yuwenmemon
Copy link
Contributor

After some further discussion in Slack we were conflating this with the other Pending CC Transaction state, which is affecting the customer.

This one might actually benefit from waiting a bit while we get the RTER Violation in Auth (cc @deetergp), since we would be able to keep all logic there and have it be 1:1:1.

@yuwenmemon
Copy link
Contributor

Waiting on https://github.com/Expensify/Auth/pull/11972 before implementing this in Auth

@yuwenmemon
Copy link
Contributor

Still waiting on https://github.com/Expensify/Auth/pull/11972

@melvin-bot melvin-bot bot removed the Overdue label Aug 26, 2024
@yuwenmemon yuwenmemon changed the title RTER Pending Expense - RTER Pending expense is not moved to new report when it's approved [HOLD Auth#11972] RTER Pending Expense - RTER Pending expense is not moved to new report when it's approved Aug 26, 2024
@JmillsExpensify JmillsExpensify moved this to Release 3: Fall 2024 (Nov) in [#whatsnext] #expense Aug 26, 2024
@melvin-bot melvin-bot bot added the Overdue label Aug 28, 2024
@yuwenmemon
Copy link
Contributor

Still on HOLD

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Aug 29, 2024
Copy link

melvin-bot bot commented Sep 3, 2024

@JmillsExpensify, @yuwenmemon Eep! 4 days overdue now. Issues have feelings too...

@garrettmknight
Copy link
Contributor

garrettmknight commented Dec 4, 2024

Just adding the issue that this is held on for reference: https://github.com/Expensify/Expensify/issues/393838

@melvin-bot melvin-bot bot added the Overdue label Dec 6, 2024
@JmillsExpensify
Copy link

Still holding

@melvin-bot melvin-bot bot removed the Overdue label Dec 11, 2024
@melvin-bot melvin-bot bot added the Overdue label Dec 20, 2024
@melvin-bot melvin-bot bot removed the Weekly KSv2 label Jan 3, 2025
Copy link

melvin-bot bot commented Jan 3, 2025

This issue has not been updated in over 15 days. @JmillsExpensify, @yuwenmemon eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Overdue labels Jan 3, 2025
@garrettmknight garrettmknight added Weekly KSv2 and removed Monthly KSv2 labels Jan 7, 2025
@yuwenmemon yuwenmemon changed the title [HOLD Violations in Auth] RTER Pending Expense - RTER Pending expense is not moved to new report when it's approved RTER Pending Expense - RTER Pending expense is not moved to new report when it's approved Jan 7, 2025
@yuwenmemon
Copy link
Contributor

Un-holding as violations in Auth are done now.

@JmillsExpensify
Copy link

Nice, thank you!

@yuwenmemon
Copy link
Contributor

I took a look at this today, and some questions came up. I'm asking @pecanoro for her advice on how to proceed best with getting violations in Auth for use within Auth.

@yuwenmemon
Copy link
Contributor

Okay so we're still holding on this just a touch. Rocio let me know that we can't use Violations::get yet on production code as it's still not accurate with its PHP version. We fixing the diff here: https://github.com/Expensify/Expensify/issues/457686

@melvin-bot melvin-bot bot added the Overdue label Jan 24, 2025
@yuwenmemon
Copy link
Contributor

Looks like the issue above is in Review so we're close!

@melvin-bot melvin-bot bot removed the Overdue label Jan 29, 2025
@melvin-bot melvin-bot bot added the Overdue label Feb 6, 2025
@yuwenmemon
Copy link
Contributor

Talked with @pecanoro IRL during onshore and it looks like there are some still issues with the RTER violation diff - so still in a holding pattern on this one for now.

@melvin-bot melvin-bot bot removed the Overdue label Feb 6, 2025
@melvin-bot melvin-bot bot added the Overdue label Feb 17, 2025
@JmillsExpensify JmillsExpensify changed the title RTER Pending Expense - RTER Pending expense is not moved to new report when it's approved [Hold] RTER Pending Expense - RTER Pending expense is not moved to new report when it's approved Feb 17, 2025
@JmillsExpensify
Copy link

Added the hold

@melvin-bot melvin-bot bot removed the Overdue label Feb 17, 2025
@melvin-bot melvin-bot bot added the Overdue label Feb 25, 2025
@JmillsExpensify
Copy link

Still on hold

@melvin-bot melvin-bot bot removed the Overdue label Feb 26, 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. Internal Requires API changes or must be handled by Expensify staff Weekly KSv2
Projects
Status: Bugs and Follow Up Issues
Development

No branches or pull requests

8 participants