From 3daeb3f7a3c7a445fc0bab69eaa8ff30e12248b1 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 24 Apr 2025 16:50:54 +0800 Subject: [PATCH] * [bug#61942,done,0.1h] testcase is not limited by CRProject and CRExecution. --- module/common/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/common/model.php b/module/common/model.php index 3d9facbb2f..e883c61bd2 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -1937,7 +1937,7 @@ eof; } /* Check the project is closed. */ - $productModuleList = array('story', 'bug', 'testtask', 'release'); + $productModuleList = array('story', 'bug', 'testcase', 'case', 'testtask', 'release'); if(!in_array($module, $productModuleList) and !empty($object->project) and is_numeric($object->project) and empty($config->CRProject)) { if(!isset($projectsStatus[$object->project])) @@ -1949,7 +1949,7 @@ eof; } /* Check the execution is closed. */ - $productModuleList = array('story', 'bug', 'testtask'); + $productModuleList = array('story', 'bug', 'testcase', 'case', 'testtask'); if(!in_array($module, $productModuleList) and !empty($object->execution) and is_numeric($object->execution) and empty($config->CRExecution)) { if(!isset($executionsStatus[$object->execution]))