@@ -173,10 +173,14 @@ abstract class Importer
|
|||||||
if($objectsToImport === ''){
|
if($objectsToImport === ''){
|
||||||
$this->removeProject();
|
$this->removeProject();
|
||||||
} else {
|
} else {
|
||||||
if(in_array('PROCESSDEFINITION', $objectsToImport)){
|
$granularObj = new \ProcessMaker\BusinessModel\Migrator\GranularImporter();
|
||||||
|
$objectList = $granularObj->loadObjectsListSelected($this->importData, $objectsToImport);
|
||||||
|
foreach ($objectList as $rowObject) {
|
||||||
|
if($rowObject['name'] === 'PROCESSDEFINITION'){
|
||||||
$this->removeProject();
|
$this->removeProject();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
$name = $this->currentProcessTitle;
|
$name = $this->currentProcessTitle;
|
||||||
$generateUid = false;
|
$generateUid = false;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user