-
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
[PAID] [LOW] [Splits] [$500] IOU - The user's name is displayed twice on the LHN after receiving payment #34525
Comments
Triggered auto assignment to @strepanier03 ( |
Job added to Upwork: https://www.upwork.com/jobs/~01a34a9fdde701015a |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
📣 @Ykumar1415! 📣
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The user's name is displayed twice on the LHN after receiving payment What is the root cause of that problem?When we delete a comment it is not deleted from the report action list of the report but only the Lines 348 to 349 in a4e3ae2
What changes do you think we should make in order to solve the problem?We need to filter deleted comment report actions here so that we will not wrongly set a deleted comment report action as the last report action of the report Lines 37 to 38 in a4e3ae2
or if we don't want to change the logic of lastReportAction we can update how Lines 368 to 369 in a4e3ae2
We can also use this logic to filter out other type of deleted report actions too
What alternative solutions did you explore? (Optional)We can update |
ProposalPlease re-state the problem that we are trying to solve in this issue.The user's name appears twice on the LHN after receiving payment What is the root cause of that problem?
Line 348 in 8e2fb67
After we add a message and delete it, reportAction is the add comment action that is deleted. That makes isThreadMessage here is true
Lines 368 to 369 in 8e2fb67
Then the last message from LHN is dupe the user's name in this case because Lines 401 to 402 in 8e2fb67
What changes do you think we should make in order to solve the problem?Since we are using Lines 371 to 372 in 8e2fb67
we should also use this to Lines 368 to 369 in 8e2fb67
*Note: We shouldn't change Line 350 in 8e2fb67
What alternative solutions did you explore? (Optional)Lines 368 to 369 in 8e2fb67
We can replace this check reportAction?.pendingAction !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE with ReportActionUtils.isDeletedParentAction(reportAction) which will return true if the action is deleted and it has child visible action
|
Working on repro'ing and tying to a wave/VIP. Will update when able. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
User A: sheena@expensifail.com I've tested this a few different times now and cannot recreate the behavior. Anyone else able to repro this still? |
I'm going to close this out for now and if we can repro this we can reopen it. |
Yes I did repoduce it on latest main now @strepanier03 2024-01-26.23-54-35.mp4 |
@strepanier03 This is still reproducible, only need to take a close note to the steps. ^ |
@FitseTLT - Thanks for confirming, I did follow the repro steps closely and still cannot repro this so I'll ask another team member to test as well. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@parasharrajat Can U please check and confirm that this reproducible in latest main? 🙏 |
Yes, I can reproduce this. Going to review the proposals in 2 hours. Currently away for some work. |
Triggered auto assignment to @MariaHCD, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@situchan The PR is ready for review. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.47-10 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-03-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:
|
Payment Summary
BugZero Checklist (@strepanier03)
|
does this issue still exist? Looks like there was a PR merged, but upwork just posted a job for this a few minutes ago. |
📣 @zboutchyard! 📣
|
@situchan and @dukenv0307 - I have hired you both to the job in Upwork, please accept and I'll pay out today or more likely tomorrow morning. @situchan - Please complete the checklist and I'll finish up your payment once I have that and can do the reg test (if we need one). |
@strepanier03 I've accepted, thank you! |
@dukenv0307 - Paid out! I'll keep an eye open for the checklist @situchan. |
Not able to find the exact offending PR as there were several refactors on LHN last message logic. |
Thanks @situchan, I'll update the checklist and finish this up. |
All set, contract closed. Thanks everyone! |
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: 1.4.25-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
The user's name should be displayed once in the LHN
Actual Result:
The user's name appears twice on the LHN after receiving payment
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6343327_1705343327092.2024-01-15_22-07-45.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: