* Modify create task error of set the module is requried.

This commit is contained in:
tianshujie
2024-01-19 08:56:20 +08:00
parent fd28b6f560
commit f4e2ec58f0
4 changed files with 8 additions and 7 deletions
+5 -1
View File
@@ -551,7 +551,11 @@ class taskZen extends task
{
$formConfig = $this->config->task->form->create;
if($this->post->type == 'affair') $formConfig['assignedTo']['type'] = 'array';
if($this->post->type == 'test') $formConfig['story']['skipRequired'] = true;
if($this->post->type == 'test')
{
$formConfig['story']['skipRequired'] = true;
$formConfig['module']['skipRequired'] = true;
}
$execution = $this->dao->findById($executionID)->from(TABLE_EXECUTION)->fetch();
$team = $this->post->team ? array_filter($this->post->team) : array();