-
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 for payment 2023-08-02] [$1000] Web - Task Assignment Anomaly: Auto-Generated Content with unexpected character and Random Avatar in "Share Somewhere" Field of Task Assignment #22433
Comments
Triggered auto assignment to @kadiealexander ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.When selecting an assignee, the Share somewhere autofill with wrong report. What is the root cause of that problem?When we select an assignee for the first time, it will autofill the Share somewhere for you by taking the assignee accountID and then searching in all reports that have the exact same accountID. Lines 496 to 504 in 60f4817
The problem lies in Lines 2117 to 2125 in 60f4817
It iterates over all report (😱) and compares the If you assign user A to the task, the task report What changes do you think we should make in order to solve the problem?We should add some exclusion to other reports.
This will fix everything that depends on this function, e.g. request, split money, etc. |
@kadiealexander Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@kadiealexander , @bernhardoj thinks this issue might be the same root case as Not sure if it's best to put one on hold or not |
@abdulrahuman5196 I'd love your thoughts on whether this will be fixed with the same fix, if so I'll place this on hold. |
Hi, Will check and update if we should put this on hold tomorrow morning |
@kadiealexander I think it is related from the proposal from @bernhardoj. I will review the proposal there and re-check if the solution solves both the issues and update back here. |
@kadiealexander Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@kadiealexander 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@abdulrahuman5196 thoughts on placing this on hold? |
@kadiealexander I did a dive deep on the other issue, and seems the proposal by @bernhardoj here doesn't solve the other issue as far as reviewed now #22031 (comment) . But meanwhile i also check the same proposal here #22433 (comment) by @bernhardoj . It solves this issue and root cause is correct. I am gettings tasks included in the Since I had already review this proposal, if possible could you assign me C+ for this issue? I can verify again and approve the proposal. |
Job added to Upwork: https://www.upwork.com/jobs/~01394f0903ab2984cf |
Current assignee @kadiealexander is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @0xmiroslav ( |
And @bernhardoj For me i only had task with the same participants list, which worked with On @bernhardoj 's proposal here, the changes looks good and works well. Root cause is also correct. 🎀 👀 🎀 |
Triggered auto assignment to @robertjchen, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@robertjchen C+ approved proposal is here #22433 (comment) |
Yep, agreed with solution in adding exclusions for report types and I also second @abdulrahuman5196 's comment on verifying that we don't cause any regressions given that |
📣 @abdulrahuman5196 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj You have been assigned to this job! |
📣 @avi-shek-jha 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Will open the PR tomorrow |
PR is up |
🎯 ⚡️ Woah @abdulrahuman5196 / @bernhardoj, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.45-7 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 2023-08-02. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
Not a regression. This seem to have been the case from task implementation itself.
Yes
|
Payouts due:
Eligible for 50% #urgency bonus? Yes Bug0 Checklist: #22433 (comment) Upwork job is here. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
There should be no auto-generated characters.
Actual Result:
Upon selecting an assignee, a random character (e.g., '2' or 's') and an avatar of a random user from the contact list appeared in the "Share Somewhere" field.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.37-3
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
Notes/Photos/Videos: Any additional supporting documentation
Recording.3478.mp4
share.somewhere.bug.mp4
Expensify/Expensify Issue URL:
Issue reported by: @avi-shek-jha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688668409161139
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: