-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$250] IOU - Multiple IOUs are unapproved when a single IOU is unapproved #44969
Comments
Triggered auto assignment to @stitesExpensify ( |
Triggered auto assignment to @lschurr ( |
👋 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:
|
@lschurr I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
We think this issue might be related to the #collect project. |
Hi hi @stitesExpensify - Can you check on this and confirm if it's a deploy blocker? Do we need to add External here? |
Checking |
Job added to Upwork: https://www.upwork.com/jobs/~0166593468459204f3 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @suneox ( |
Commented here #44229 |
ProposalPlease re-state the problem that we are trying to solve in this issue.All transactions are unapproved when a single transaction is unapproved. What is the root cause of that problem?The approve option is available on the expense report which will approve all the transactions, so it makes sense if unapprove will unapprove all transactions too. They both work on the expense report level, not on each transaction. So, I think the real issue here is that the Unapprove option is shown on the transaction thread details page. That's because when we check whether the report is a money request report or not, we always pass the money request report itself, which is true for the transaction thread too. App/src/pages/ReportDetailsPage.tsx Lines 202 to 205 in 7b558ef
The App/src/pages/ReportDetailsPage.tsx Lines 184 to 189 in 7b558ef
What changes do you think we should make in order to solve the problem?We should check for the current report instead of the App/src/pages/ReportDetailsPage.tsx Lines 202 to 205 in 7b558ef
|
Thank @bernhardoj for the proposal. I’ll start reviewing it. |
I’m still stuck when trying to approve an expense due to the requirement to add a payment card. I have tried a lot of test cards provided by stripe, bluesnap, plaid but none of them worked. |
Fix merged & CPing |
Should be good now, IOUs are no longer Unapprovable 👍 tested in |
Keeping open so @bernhardoj can get paid for his solution here that I implemented in #45049 (along with another small change) 🙏 - cc @lschurr |
@Beamanator, @suneox, @lschurr, @stitesExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@lschurr can you help us retest? This should have been fixed already |
Yes, I'm a bit behind but can test tomorrow - @bernhardoj @suneox are you able to jump in and test this? |
Tested on staging, the Unapprove button doesn't show on the transaction thread anymore 🎉 web.mp4 |
Woop! Amazing. Is there a PR associated with this specific GH that requires payment or are we good to close? |
PR was #45049! But it fixed multiple issues FYI 🙏 |
Ok, so payment is being issued elsewhere? Or do we need to pay here @Beamanator? |
@Beamanator @suneox @lschurr @stitesExpensify this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@lschurr I think it's just payment for @bernhardoj here via this comment. |
Great, thanks! Payment summary:
|
Requested in ND. |
$250 approved for @bernhardoj |
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.5-3
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Precondition: Create workspace > More features > Enable workflow > Enable Add approvals > Make yourself approver
Expected Result:
Only the unapproved report should be unapproved
Actual Result:
Both IOUs are unapproved
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6535812_1720442435170.Screen_Recording_2024-07-08_at_3.29.15_in_the_afternoon.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @lschurrThe text was updated successfully, but these errors were encountered: