-
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
[HOLD for payment 2023-06-01] [$1000] Assign Task - An error when try to add phone number as Assignee #18649
Comments
Triggered auto assignment to @maddylewis ( |
Bug0 Triage Checklist (Main S/O)
|
@maddylewis Whoops! This issue is 2 days overdue. Let's get this updated quick! |
back from OOO / will action today |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Job added to Upwork: https://www.upwork.com/jobs/~01083e1135163c2e99 |
Current assignee @maddylewis is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @0xmiroslav ( |
Triggered auto assignment to @luacmartins ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.An error occurs when trying to add phone number as Assignee. What is the root cause of that problem?The code for checking assignees is trying to query the personal details of the current session for the details of the assignee account. This error will also occur with any email address that is not associated with the current user session. App/src/pages/tasks/NewTaskPage.js Line 79 in 811c0f3
What changes do you think we should make in order to solve the problem?It looks like there is an issue with the logic for checking App/src/pages/tasks/NewTaskPage.js Lines 79 to 83 in 811c0f3
If this is supposed to be a check to make sure that a user cannot assign tasks to themselves (or accounts associated with them), then changing the condition check to What alternative solutions did you explore? (Optional)None. |
ProposalPlease re-state the problem that we are trying to solve in this issue.An error when try to add phone number as Assignee What is the root cause of that problem?When selecting user that has phone number App/src/pages/tasks/TaskAssigneeSelectorModal.js Lines 159 to 172 in 811c0f3
So that when getting personalDetail of assignee in here, assigneeDetails is undefined and the error appears.App/src/pages/tasks/NewTaskPage.js Line 79 in 811c0f3
What changes do you think we should make in order to solve the problem?We should set App/src/pages/tasks/TaskAssigneeSelectorModal.js Lines 159 to 172 in 811c0f3
What alternative solutions did you explore? (Optional) |
@dukenv0307 proposal's look good to me. |
📣 @dukenv0307 You have been assigned to this job by @luacmartins! |
@0xmiroslav @luacmartins the PR is ready to review. |
🎯 ⚡️ Woah @0xmiroslav / @dukenv0307, great job pushing this forwards! ⚡️ The pull request got merged within 2 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.17-5 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-06-01. 🎊 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.
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:
|
reviewing / processing payment on Thurs |
Payments
|
offer sent to @0xmiroslav 👍 @dukenv0307 - can you link me your Upwork profile or confirm how your name shows in Upwork? thanks! |
@0xmiroslav - will you run through your portion of this checklist? thanks! #18649 (comment) |
@maddylewis My link Upwork profile: https://www.upwork.com/freelancers/~01f5cbe690701118a2. |
This is not a regression (which means worked before but recently broken) but overlooked while implementing new feature of creating task. I don't think we need regression test step here. |
offer sent to @dukenv0307 ! |
everyone is paid - closing! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #17992
Action Performed:
Expected Result:
Phone number added as assignee
Actual Result:
An error appears
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.12.0
Reproducible in staging?: Yes
Reproducible in production?: yes
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
Bug6048291_Recording__4487.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: