* [bug#61942,done,0.1h] testcase is not limited by CRProject and CRExecution.

This commit is contained in:
liumengyi
2025-04-25 08:52:43 +08:00
committed by 刘刚
parent 97ed5f511a
commit 3daeb3f7a3
+2 -2
View File
@@ -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]))