-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Held requests] [$250] Duplicate expense report displayed when employee submit expense #47539
Comments
Triggered auto assignment to @sakluger ( |
We think that this bug might be related to #wave-collect - Release 1 |
@sakluger 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 |
Job added to Upwork: https://www.upwork.com/jobs/~01da56a170fe42f065 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.After holding one of the submitted expenses and partially approving it, submitting a subsequent expense creates a duplicate report in the chat. What is the root cause of that problem?The root cause of this problem, unfortunately, seems to be the data sent from the API through Pusher. I explored the request that is being sent from the application, and it seems to be correct. The API response, though, includes both the correct data (the data that was submitted to the API) and also seems to include some extra "ghost" What changes do you think we should make in order to solve the problem?It is possible to fix it through a workaround, like forcing it to What alternative solutions did you explore? (Optional)(this is not an alternative solution, but just another thing I had to fix before being able to exactly reproduce this issue) This seems to be caused by the Line 1674 in 67ad466
|
@sakluger, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@excile1 thanks for the proposal. We're not looking for workaround but fix the root cause. |
Wouldn't the root cause have to be fixed on the backend side though? So, in the The problem seems to appear in the request response's |
Agree this is backend bug. |
Triggered auto assignment to @Gonals, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@Gonals can you check and confirm that this is a BE bug? |
CC: @robertjchen for eyes. |
Encouraging news! |
Looks like the PR is merged and deployed! Hopefully it fixes the bug. |
@IuliiaHerets would you mind giving this one a retest? @aimane-chnaif do you think that the work you did reviewing proposals on this one was enough to warrant payment? Thanks! |
@sakluger This issue is not repro anymore, build - v9.0.41-2 Recording.4192.mp4 |
I am fine with no payment here. |
Thank you! 🙇 |
Apparently still reproducible: https://expensify.slack.com/archives/C036QM0SLJK/p1727771195051329?thread_ts=1727720815.151679&cid=C036QM0SLJK |
@Gonals any ideas what might still be causing this? |
Dammit -.- Well, I used my ideas in the previous fix. I'll try to reproduce in dev again (which I have not been able to so far). With that, I should be able to figure out what's up. |
Can reproduce on Staging. Still not in Dev, which makes it difficult to debug. I have a couple of ides that may help. I'll keep you posted |
Ok. This is getting overwritten by a "newer" Onyx Update, which wrongly sets the iouReportID to the oldOne. I'm digging out the origin. |
Still chasing this. It is NOT coming from this flow, but from a concurrent event, so it has become a way harder thing to chase. |
Finally got a solution! |
New issue: https://github.com/Expensify/Auth/pull/12721 Fix for it already in review |
Issue not reproducible during KI retests. (First week) |
@Gonals is this fixed now? If so, did any of your PRs have C+ reviews that require payment? |
Yep! Should be fixed! No C+ reviews |
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.21-0
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/4863120&group_by=cases:section_id&group_order=asc&group_id=309128
Email or phone of affected tester (no customers): gocemate+workspaceemployee159@gmail.com
Issue reported by: Applause Internal Team
Action Performed:
Precondition:
Steps:
Expected Result:
There should be only one new expense present on workspace chat, along with expense that was put on hold
Actual Result:
Duplicate expense report displayed when employee submit another expense while there is a expense with hold status
Workspace avatar turn to offline image
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6573373_1723759627357.Recording__3736.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @The text was updated successfully, but these errors were encountered: