From 790fcb5fffcbd6b1ecf8a39d83e99684d1cdb38e Mon Sep 17 00:00:00 2001 From: tianshujie Date: Mon, 9 Sep 2024 09:39:07 +0800 Subject: [PATCH] * [task#127531,done,1h] set execution id for test report data. --- module/testreport/zen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testreport/zen.php b/module/testreport/zen.php index d3a087bc89..d61e60c075 100644 --- a/module/testreport/zen.php +++ b/module/testreport/zen.php @@ -156,7 +156,7 @@ class testreportZen extends testreport $tasks = array($task->id => $task); $owner = $task->owner; $stories = empty($build->stories) ? array() : $this->story->getByList($build->stories); - $execution = $this->execution->getById($task->execution); + $execution = $this->execution->getById($task->execution ? $task->execution : $task->project); $this->setChartDatas($objectID);