Closed spwin closed 2 years ago
The following change fixes it:
diff --git a/controllers/TaskController.php b/controllers/TaskController.php
index d1e86fb..58e6013 100644
--- a/controllers/TaskController.php
+++ b/controllers/TaskController.php
@@ -107,7 +107,7 @@ class TaskController extends AbstractTaskController
return $this->asJson(['success' => $task->state->revert($status)]);
}
- public function actionTaskAssignedPicker($id = null, $keyword = '')
+ public function actionTaskAssignedPicker($keyword = '')
{
$query = $this->getSpace()->getMembershipUser();
@@ -118,7 +118,7 @@ class TaskController extends AbstractTaskController
]));
}
- public function actionTaskResponsiblePicker($id = null, $keyword = '')
+ public function actionTaskResponsiblePicker($keyword = '')
{
$query = $this->getSpace()->getMembershipUser();
Can you guys marge the fix? Thanks
@spwin Thanks for the fix. Can you please provide steps to reproduce?
It's happening when creating a new task in a Space and trying to assign a user
Hmm, cannot reproduce this, but it's clearly a bug.
Thanks!
Hmm, cannot reproduce this, but it's clearly a bug.
Thanks!
It’s only happening when running on localhost for me, maybe the validation is disabled on prod or php versions are different.
Thanks Luke!
There is a bug when assigning a user to the task. Endpoint
/tasks/task/task-assigned-picker
returns error 400 with message about missing id.