-
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
[HOLD for payment 2024-08-13] [$250] [Held requests] Partially approved expenses are not GBR'ed in LHN #45902
Comments
Triggered auto assignment to @VictoriaExpensify ( |
1 similar comment
Triggered auto assignment to @VictoriaExpensify ( |
@VictoriaExpensify FYI 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 |
@VictoriaExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~0130a7781bd6d708e1 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.A new report is created with the expense on hold but is not GBR’ed in the LHN (green dot) What is the root cause of that problem?The Actual behavior in the OP is actually the correct behavior, as all outstanding requests are on HOLD, there's no action from the approver. The ball is on the request submitter to add more information/clarification so the request can be taken off HOLD. That behavior is consistent with the back-end too. The problem here is that it doesn't work now in offline mode because we're not setting optimistic data correctly. In Line 6753 in 750c34e
hasOutstandingChildRequest to be true and GBR shows after approving partially, although there's no action for the approver, after approving that and held expenses moved to a new report.
What changes do you think we should make in order to solve the problem?Update Line 6753 in 750c34e
to
What alternative solutions did you explore? (Optional)This |
I confirm that the issue is reproducible as per OP steps - but I'm not sure whether we want to fix this as per the OP Expected result. What happens currently:
Notes:
@nkdengineer's proposal makes sense to me as far as explaining the way in which the Actual result might be the correct behaviour in this case, this being backed by and consistent with the BE data as well. As far as the solution goes, I tested the offline behaviour and there's indeed an inconsistency compared to the online behaviour -> which can be fixed by the proposed main solution. As for the proposed alternative solution: I think that proposition is out of scope for this issue. This being said, I'll defer to the CME as to whether we should actually fix this issue as per the OP Expected result and change the current behaviour, or only fix the offline behaviour to have consistency with the current online behaviour (OP Actual result). 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @danieldoglas, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Friendly bump @danieldoglas for assignment, thank you |
📣 @ikevin127 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@danieldoglas Not sure if you've read through #45902 (comment) before assignment - because assignment here without further discussion means we're not fixing the issue as the OP expects, but instead just aligning the offline behaviour with what we have online. Just want to confirm that we're good with ^ that as to not have any misunderstandings when moving on with the described plan. |
I agree that the actual solution is the correct one - there's nothing for the approver to work, so it doesn't make sense to create a GBR. @VictoriaExpensify do you disagree? |
Thanks for the feedback! In this case I think @nkdengineer can move forward with opening the PR. If Victoria disagrees, we can change course at any time. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.16-8 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-13. 🎊 For reference, here are some details about the assignees on 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:
|
Regression Test Proposal
Do we agree 👍 or 👎. |
lgtm. @danieldoglas - what do you think? |
This comment was marked as resolved.
This comment was marked as resolved.
Contributor: @nkdengineer paid $250 via Upwork Test case Thx y'all 🎉 |
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.0.10-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4747965
Issue reported by: Applause - Internal Team
Action Performed:
Pre-requisite:
Steps
Expected Result:
A new report is created with the expense on hold and is GBR’ed in the LHN (green dot)
Actual Result:
A new report is created with the expense on hold but is not GBR’ed in the LHN (green dot)
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6549292_1721646141815.2024-07-22_13_36_59.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @VictoriaExpensifyThe text was updated successfully, but these errors were encountered: