This commit is contained in:
Gustavo Adolfo Cruz Laura
2016-04-08 18:01:40 -04:00
parent 5b2ee5e7aa
commit 58ddaa2347
4 changed files with 48 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ class GranularExporter
protected function mergeData($migratorData)
{
$migratorData = $this->verifyConsistenceData($migratorData);
$this->data = array_merge_recursive($this->data, $migratorData);
$this->data = array_replace_recursive($migratorData, $this->data);
}
/**

View File

@@ -56,12 +56,13 @@ class ProcessDefinitionMigrator implements Importable, Exportable
//Workflow elements
$this->processes->updateProcessRow($data['workflow']['process']);
$this->processes->createTaskRows($data['workflow']['tasks']);
$this->processes->createTaskUserRows($data['workflow']['taskusers']);
$this->processes->createRouteRows($data['workflow']['routes']);
$this->processes->replaceRouteRows($data['workflow']['routes']);
$this->processes->createLaneRows($data['workflow']['lanes']);
$this->processes->createGatewayRows($data['workflow']['gateways']);
$this->processes->createStepRows($data['workflow']['steps']);
$this->processes->createStepTriggerRows($data['workflow']['steptriggers']);
$this->processes->createTaskUserRows($data['workflow']['taskusers']);
$this->processes->createSubProcessRows($data['workflow']['subProcess']);
$this->processes->createCaseTrackerRows($data['workflow']['caseTracker']);
$this->processes->createCaseTrackerObjectRows($data['workflow']['caseTrackerObject']);