Merged in mcuiza/processmaker/PM-1859 (pull request #1788)

PM-1859 - Error al ingresar a las reglas de ruteo de un subproceso
This commit is contained in:
Julio Cesar Laura Avendaño
2015-03-31 13:50:47 -04:00
2 changed files with 19 additions and 4 deletions

View File

@@ -2640,7 +2640,7 @@ class processMap
}
} else {
throw new Exception(G::loadTranslation('ID_INVALID_ROU_TYPE_DEFINITION_ON_ROUTE_TABLE'));
throw new Exception(G::loadTranslation('ID_NO_DERIVATIONS_DEFINED'));
}
$aFields['action'] = 'savePattern';
@@ -2658,7 +2658,8 @@ class processMap
$aMessage = array();
$aMessage['MESSAGE'] = $oError->getMessage();
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login/showMessage', '', $aMessage);
G::RenderPage('publish', 'blank');
G::RenderPage('publish', 'raw');
return true;
die();
}
}