You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[LOW] [Splits] Task - Task report avatar in LHN shows task assignee instead of task creator before opening it #33461
Version Number: 1.4.15-4 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:
Precondition: User A and B have no prior chat and they are on private domain
[User A] In 1:1 DM with User C. create a task and assign it to User B
[User B] Note the avatar of task report in LHN
[User B] Open the task report
Expected Result:
In Step 2, when User B receives the task, the task report avatar should display the avatar of task creator
Actual Result:
In Step 2, when User B receives the task, the task report avatar displays task assignee avatar (User B) instead of task creator avatar
The task report avatar only shows the correct avatar (task creator) after opening the task report in Step 3
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Well what I'm seeing is that in step 2, the ownerAccountID is user A and the mangagerAccountID on the report is user B. Now going to click on the report as user B and see what happens.
Before user B clicks on the report, the participantAccountIDs array just had the accountID of B, in this case [185]. But after user B clicks on the report, the participantAccountIDs array had just the accountID of B, in this case [186].
Furthermore, I don't see any code that optimistically generates the chat report in this case.
Activity
github-actions commentedon Dec 21, 2023
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
melvin-bot commentedon Dec 21, 2023
Triggered auto assignment to @roryabraham (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.roryabraham commentedon Dec 21, 2023
Weird
roryabraham commentedon Dec 21, 2023
Well what I'm seeing is that in step 2, the
ownerAccountIDis userAand themangagerAccountIDon the report is user B. Now going to click on the report as user B and see what happens.roryabraham commentedon Dec 21, 2023
Clarification – I was looking at the task report, but there's also a chat report that's created between users A and B
roryabraham commentedon Dec 21, 2023
So it looks like the chat report that's optimistically created when assigning the task has the wrong
participantAccountIDsroryabraham commentedon Dec 21, 2023
Or rather, not just the one that's optimistically created, but the one that user B receives via Pusher
roryabraham commentedon Dec 21, 2023
Before user B clicks on the report, the
participantAccountIDsarray just had the accountID of B, in this case[185]. But after user B clicks on the report, theparticipantAccountIDsarray had just the accountID of B, in this case[186].Furthermore, I don't see any code that optimistically generates the chat report in this case.
roryabraham commentedon Dec 21, 2023
Edit: the chat report is optimistically generated here, and the
participantAccountIDarray is correct for the person who created the report.roryabraham commentedon Dec 21, 2023
At this point, I'm pretty sure that this is a back-end issue, so I'm going to remove the deploy blocker label and check this off.
84 remaining items
sonialiap commentedon Jul 30, 2024
sonialiap commentedon Aug 16, 2024
sonialiap commentedon Sep 17, 2024
Paused
sonialiap commentedon Oct 23, 2024
Asking for a retest
sonialiap commentedon Nov 12, 2024
asked for new retest - slack
mvtglobally commentedon Nov 12, 2024
Not reproducible
https://github.com/user-attachments/assets/7cc093ec-842d-4627-8216-9fec86ec5b3a