-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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-06-20] [HOLD for payment 2024-06-18] Expenses - Hold Expense option is displayed on expenses on a closed report #42202
Comments
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rojiphil ( |
Triggered auto assignment to @sonialiap ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Hold Expense option is displayed on expenses on a closed report. What is the root cause of that problem?We don't check if the parent report is archived or not below: App/src/components/MoneyRequestHeader.tsx Line 107 in b8b4e98
What changes do you think we should make in order to solve the problem?Update to include check to ensure that
It's also okay to have it like this: We can also include a check for |
ProposalPlease re-state the problem that we are trying to solve in this issue.The Hold expense option is displayed in expenses linked to a closed report. Nothing happens when clicking on hold expense on a closed report. What is the root cause of that problem?
App/src/components/MoneyRequestHeader.tsx Line 113 in e9cf0c5
Line 6673 in e9cf0c5
What changes do you think we should make in order to solve the problem?
App/src/components/MoneyRequestHeader.tsx Line 113 in e9cf0c5
Line 6673 in e9cf0c5
What alternative solutions did you explore? (Optional)NA |
@rojiphil, @sonialiap Huh... This is 4 days overdue. Who can take care of this? |
This comment was marked as outdated.
This comment was marked as outdated.
Thanks for all your proposals. |
Triggered auto assignment to @dangrous, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@rojiphil I think we also need to fix the second bug as well. |
Hey @rojiphil! I am leaning towards taking @nkdengineer's proposal as a more complete solution - not showing the error seems like an oversight in the code and it would be good to get that fixed. What do you think? |
Oh! Yes. Sound's good. Let's go with @nkdengineer's proposal as this proposal is a more complete solution. |
@ShridharGoel I agree that the other bug is not directly related to the issue at hand here. But at times when the solution is pretty straightforward, we also consider any other closely related issue and give preference to that proposal for a more complete solution. We just did that here although I agree that your proposal has got the correct RCA and solution for the mentioned problem here. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.81-11 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-06-18. 🎊 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:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.82-4 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-06-20. 🎊 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:
|
Payment summary: |
Thanks @sonialiap, I accepted it |
Payment Summary
BugZero Checklist (@sonialiap)
|
|
@sonialiap Completed BZ checklist and accepted offer. Thanks |
Thanks Roji! Paid ✔️ |
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: v1.4.74-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Issue reported by: Applause - Internal team
Found while writing test cases for the Hold feature here https://github.com/Expensify/Expensify/issues/392550
Action Performed:
Expected Result:
The Hold option should not display in expenses attached to a closed report.
Actual Result:
The Hold expense option is displayed in expenses linked to a closed report. Nothing happens when clicking on hold expense on a closed report.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Hold.Expense.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @sonialiapThe text was updated successfully, but these errors were encountered: