PM-00000 "Fix to import process" SOLVED

Issue:
    Fix to import process
Cause:
    No import correctly attribute "taskExtraProperties"
Solution:
    Fix to export and import the attribute "taskExtraProperties" of a project
This commit is contained in:
Victor Saisa Lopez
2015-05-18 14:13:06 -04:00
parent e417cb6c8b
commit c24abfbf15
3 changed files with 58 additions and 21 deletions

View File

@@ -969,6 +969,18 @@ class Processes
}
}
if (isset($oData->taskExtraProperties)) {
foreach ($oData->taskExtraProperties as $key => $value) {
$record = $value;
if (isset($map[$record["OBJ_UID"]])) {
$newUid = $map[$record["OBJ_UID"]];
$oData->taskExtraProperties[$key]["OBJ_UID"] = $newUid;
}
}
}
if (isset($oData->webEntry)) {
foreach ($oData->webEntry as $key => $value) {
$record = $value;