Skip to content
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

[$1000] Not able to add a task assignee #20807

Closed
6 tasks
Beamanator opened this issue Jun 15, 2023 · 18 comments
Closed
6 tasks

[$1000] Not able to add a task assignee #20807

Beamanator opened this issue Jun 15, 2023 · 18 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@Beamanator
Copy link
Contributor

Beamanator commented Jun 15, 2023

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:

  1. click on + icon and click on Assign task option
  2. enter title and click on Next button
  3. click on Assignee option
  4. click on any user

Expected Result:

user should be assign as Assignee

Actual Result:

not able to assign any Assignee

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: main
Reproducible in staging?:
Reproducible in production?:
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
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686829718168319

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01e2aaeba9308a0daa
  • Upwork Job ID: 1669330942765027328
  • Last Price Increase: 2023-06-15
@Beamanator Beamanator added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jun 15, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 2023

Triggered auto assignment to @conorpendergrast (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@BeeMargarida
Copy link
Contributor

Hi I'm Ana from Callstack - expert contributor group - I can work on this issue.

@alitoshmatov
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Not able to add a task assignee

What is the root cause of that problem?

We have changed field in recent PR, assigneeAccountID was changed to newAssigneeAccountID

let newAssigneeAccountID = Number(assigneeAccountID);

Onyx.merge(ONYXKEYS.TASK, {assignee, newAssigneeAccountID});

But we are not using updated field here

const assigneeDetails = lodashGet(OptionsListUtils.getPersonalDetailsForAccountIDs([props.task.assigneeAccountID], props.personalDetails), props.task.assigneeAccountID);

What changes do you think we should make in order to solve the problem?

We should change field name here

https://github.com/Expensify/App/blob/4fdc8dbec2cbd74190a68ca5008092a2dbbdbc16/src/pages/tasks/NewTaskPage.js#LL81C1-L81C1

to this

assigneeAccountID: newAssigneeAccountID

What alternative solutions did you explore? (Optional)

@Beamanator Beamanator added the External Added to denote the issue can be worked on by a contributor label Jun 15, 2023
@melvin-bot melvin-bot bot changed the title Not able to add a task assignee [$1000] Not able to add a task assignee Jun 15, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01e2aaeba9308a0daa

@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 2023

Current assignee @conorpendergrast is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (External)

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 15, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 2023

Triggered auto assignment to @madmax330 (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@Beamanator
Copy link
Contributor Author

@eVoloshchak please review the proposal above when you have time!

@youssef-lr youssef-lr self-assigned this Jun 15, 2023
@youssef-lr
Copy link
Contributor

I'm getting this fixed in my PR here #20808.

@youssef-lr youssef-lr changed the title [$1000] Not able to add a task assignee [HOLD #20808] [$1000] Not able to add a task assignee Jun 15, 2023
@conorpendergrast
Copy link
Contributor

Unassigning @eVoloshchak based on this being fixed in this PR, please correct me if that's wrong.

I'll hire @gadhiyamanan as bug reporter... when Upwork comes back

@conorpendergrast
Copy link
Contributor

Contract sent to @gadhiyamanan via Upwork for bug bounty. I'll pay that when this is fixed by #20808

@youssef-lr I think you need to add this issue (#20807) to the fixed issues sections in that PR, right?

@melvin-bot melvin-bot bot added the Overdue label Jun 19, 2023
@conorpendergrast
Copy link
Contributor

Ok, looks like the fix for this is on Staging now #20808

I'll re-test now on Staging

@melvin-bot melvin-bot bot removed the Overdue label Jun 19, 2023
@conorpendergrast
Copy link
Contributor

Tested on v1.3.29-1, and no issue with adding the task assignee 👍

@conorpendergrast
Copy link
Contributor

Once that PR reaches production, I'll get that bug bounty paid and will close this issue

@melvin-bot melvin-bot bot added the Overdue label Jun 21, 2023
@youssef-lr
Copy link
Contributor

Not overdue.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jun 21, 2023
@conorpendergrast
Copy link
Contributor

This is on Production: #20808

Time to pay!

@melvin-bot melvin-bot bot removed the Overdue label Jun 22, 2023
@conorpendergrast conorpendergrast changed the title [HOLD #20808] [$1000] Not able to add a task assignee [$1000] Not able to add a task assignee Jun 22, 2023
@conorpendergrast
Copy link
Contributor

Paid out @gadhiyamanan, ended contract. Closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

7 participants