From 555ecdd9a5d8f65b09d49fdfa1720ad594c64bb7 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Fri, 17 Sep 2021 10:22:21 +0800 Subject: [PATCH] * Fix test report run case error. --- module/testreport/control.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/testreport/control.php b/module/testreport/control.php index d7b4f6a99e..807802ceef 100644 --- a/module/testreport/control.php +++ b/module/testreport/control.php @@ -530,6 +530,9 @@ class testreport extends control $cases = $this->testreport->getTaskCases($tasks, $report->begin, $report->end); $bugInfo = $this->testreport->getBugInfo($tasks, $report->product, $report->begin, $report->end, $builds); + /* save session .*/ + $this->loadModel('common')->saveQueryCondition($this->dao->get(), 'testcase', false); + if($report->objectType == 'testtask') { $this->setChartDatas($report->objectID);