-
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-On user A tries to unheld expense holded by user B, system message for unheld shown #46946
Comments
Triggered auto assignment to @mallenexpensify ( |
We think that this bug might be related to #wave-collect - Release 1 |
This issue is the same as #46551 ProposalPlease re-state the problem that we are trying to solve in this issue.The unhold system message shows when unhold expense but fails. What is the root cause of that problem?It's not a problem that the unhold expense system message is shown even when fails, but the issue here is that the system message looks like the request is a success. When the unhold request fails, we set the error to the transaction data instead of the system message action. Lines 7565 to 7573 in eced170
And that will show the error below the receipt title. It's the same with hold too. What changes do you think we should make in order to solve the problem?To make it clearer, we need to set the error pattern for the unhold system message. To do that, we need to set the error to the optimistic unhold action instead.
I just realized the hold status is cleared optimistically but not reverted when fails, so we can fix that too here.
Do the same for hold too, but we will set it for 2 actions, hold request and hold reason action. |
@robertjchen I was thinking of putting this issue on hold, pending the below . What cha think? |
@mallenexpensify Huh... This is 4 days overdue. Who can take care of this? |
Oh yep, this should be addressed by the above issue ^ |
Let's test again now that the changes for that are out? 🙏 |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
Through |
I can't reproduce this anymore since the unhold option is not shown to the other user anymore. web.mp4 |
Thanks @bernhardoj , going to close this then as it's not an issue/bug any more. |
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.17
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/4827344
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
When user A tries to unheld expense holded by user B, only unexpected error must be shown and no system message of unheld must be displayed.
Actual Result:
When user A tries to unheld expense holded by user B, unexpected error is shown correctly but system message for unheld is shown incorrectly.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6563977_1723000627691.Screenrecorder-2024-08-07-08-23-03-437_compress_1.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: