HOR-2809
Preserve PRO_ID and TAS_ID in granular process import.
This commit is contained in:
@@ -165,6 +165,9 @@ class Process extends BaseProcess
|
||||
} while ($this->processExists( $sNewProUid ));
|
||||
} else {
|
||||
$sNewProUid = $aData['PRO_UID'];
|
||||
if (!empty($aData['PRO_ID'])) {
|
||||
$this->setProId($aData['PRO_ID']);
|
||||
}
|
||||
}
|
||||
|
||||
$this->setProUid( $sNewProUid );
|
||||
|
||||
@@ -410,6 +410,9 @@ class Task extends BaseTask
|
||||
$this->setTasPosy("");
|
||||
$this->setTasColor("");
|
||||
$this->setTasGroupVariable("");
|
||||
if (!$generateUid && !empty($aData['TAS_ID'])) {
|
||||
$this->setTasId($aData['TAS_ID']);
|
||||
}
|
||||
$this->fromArray($aData,BasePeer::TYPE_FIELDNAME);
|
||||
|
||||
if ($this->validate()) {
|
||||
|
||||
Reference in New Issue
Block a user