Merge branch 'sprint/devops16_17345' into 'sprint/devops16'
* Fix bug#17345 See merge request easycorp/zentaopms!890
This commit is contained in:
@@ -233,6 +233,12 @@ class actionModel extends model
|
||||
$record->execution = (int)$extra;
|
||||
}
|
||||
|
||||
if($objectType == 'story' and $actionType == 'importfromgitlab')
|
||||
{
|
||||
$record->execution = $record->project;
|
||||
$record->project = $this->dao->select('project')->from(TABLE_EXECUTION)->where('id')->eq($record->execution)->fetch('project');
|
||||
}
|
||||
|
||||
if($objectType == 'case' and (strpos(',linked2testtask,unlinkedfromtesttask,assigned,run,', ',' . $actionType . ',') !== false) and (int)$extra)
|
||||
{
|
||||
$testtask = $this->dao->select('project,execution')->from(TABLE_TESTTASK)->where('id')->eq((int)$extra)->fetch();
|
||||
|
||||
Reference in New Issue
Block a user