-
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
IOU shows incorrect avatar and sender name #59311
Comments
Triggered auto assignment to @slafortune ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.IOU shows incorrect avatar and sender name What is the root cause of that problem?When User A sends an IOU User A will be the owner and User B the manager. So actorAccountID here
will be the iou report manager Lines 8988 to 8996 in 4c087bc
So the display name will be the name of actorAccountID/User B
What changes do you think we should make in order to solve the problem?For IOU report the actorAccountID should be the owner for iou reports so change Lines 8992 to 8993 in 4c087bc
Then we should set the secondary account for iou reports to be the managerID
Note: I think we might remove the code that returns managerID as actorAccountID here if it is handling only the case of iou report types. On the same note the logic of setting secondary account to actorAccountID when ownerAccountID is equal to actorAccountID here can also be removed if we do not need it anymore. What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?Not needed What alternative solutions did you explore? (Optional) |
Looks like this is being handled in #50697 |
closing as duplicate |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.1.20-2
Reproducible in staging?: y
Reproducible in production?: y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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: @dubielzyk-expensify
Slack conversation (hyperlinked to channel name): #expensify-bugs
Action Performed:
Expected Result:
Should show correct avatar and sender name (A)
Actual Result:
Showing sender name as user B and incorrect avatar
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: