ProcessMaker-BE "Export, artifacts missing"

- Export, artifacts missing
- Se ha completado los artifacts al exportar e importar
This commit is contained in:
Victor Saisa Lopez
2014-06-06 15:21:01 -04:00
parent 310fb20e6b
commit 29edfabe4d
3 changed files with 17 additions and 5 deletions

View File

@@ -96,6 +96,7 @@ abstract class Exporter
$data["metadata"]["uid"] = $this->getProjectUid();
$bpmnStruct["ACTIVITY"] = \BpmnActivity::getAll($this->prjUid);
$bpmnStruct["ARTIFACT"] = \BpmnArtifact::getAll($this->prjUid);
$bpmnStruct["BOUND"] = \BpmnBound::getAll($this->prjUid);
$bpmnStruct["DATA"] = array();
$bpmnStruct["DIAGRAM"] = \BpmnDiagram::getAll($this->prjUid);
@@ -152,7 +153,10 @@ abstract class Exporter
$templatesFiles = Util\Common::rglob("$templatesDir/*", 0, true);
foreach ($templatesFiles as $templatesFile) {
if (is_dir($templatesFile)) continue;
if (is_dir($templatesFile)) {
continue;
}
$filename = basename($templatesFile);
$data["workflow-files"][$target][] = array(
"filename" => $filename,
@@ -203,4 +207,5 @@ abstract class Exporter
return $this->metadata;
}
}
}
}