Merged in bugfix/HOR-2923 (pull request #5585)

HOR-2923

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
dheeyi william
2017-04-06 19:38:14 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -14,6 +14,7 @@ class GranularImporter
protected $factory;
protected $data;
protected $regeneratedUids;
/**
* GranularImporter constructor.
*/
@@ -140,7 +141,8 @@ class GranularImporter
:$data['tables']['workflow']['process'][0]['PRO_UID'];
$objectList[$nameObject] = [];
$objectList[$nameObject]['metadata'] = [
'PRJ_UID' => $prjUID
'PRJ_UID' => $prjUID,
'REGENERATED_UIDS' => $this->regeneratedUids
];
foreach ($data['tables']['plugins'] as $pluginKey => $pluginTable) {
$key = explode(".", $pluginKey);
@@ -328,6 +330,7 @@ class GranularImporter
$newData['tables']['workflow'] = $arrayWorkflowTables;
$newData['tables']['plugins'] = isset($data["tables"]["plugins"]) ? $data["tables"]["plugins"] : [];
$newData['files']['workflow'] = $arrayWorkflowFiles;
$this->regeneratedUids = $result;
return array(
'data' => $newData,