Merge branch 'master_bug_30389' into 'master'
* Fix bug #30389 :if delete execution directly the execute is empty. See merge request easycorp/zentaopms!6793
This commit is contained in:
@@ -3066,6 +3066,7 @@ class execution extends control
|
||||
/* Delete execution. */
|
||||
$execution = $this->execution->getByID($executionID);
|
||||
$this->dao->update(TABLE_EXECUTION)->set('deleted')->eq(1)->where('id')->eq($executionID)->exec();
|
||||
$this->dao->update(TABLE_BUG)->set('execution')->eq(0)->where('execution')->eq($executionID)->exec();
|
||||
$this->loadModel('action')->create('execution', $executionID, 'deleted', '', ACTIONMODEL::CAN_UNDELETED);
|
||||
$this->execution->updateUserView($executionID);
|
||||
$this->loadModel('common')->syncPPEStatus($executionID);
|
||||
|
||||
Reference in New Issue
Block a user