Merge branch 'master' of bitbucket.org:colosa/processmaker
This commit is contained in:
@@ -39,10 +39,10 @@ class Designer extends Controller
|
||||
|
||||
if (System::isDebugMode()) {
|
||||
if (! file_exists(PATH_HTML . "lib-dev/pmUI/build.cache")) {
|
||||
throw new Exception("Error: Development JS Files were are not generated!, please execute: \$rake pmBuildDebug in pmUI project");
|
||||
throw new RuntimeException("Development JS Files were are not generated!.\nPlease execute: \$>rake pmBuildDebug in pmUI project");
|
||||
}
|
||||
if (! file_exists(PATH_HTML . "lib-dev/mafe/build.cache")) {
|
||||
throw new Exception("Error: Development JS Files were are not generated!, please execute: \$rake pmBuildDebug in MichelangeloFE project");
|
||||
throw new RuntimeException("Development JS Files were are not generated!.\nPlease execute: \$>rake pmBuildDebug in MichelangeloFE project");
|
||||
}
|
||||
|
||||
$mafeFiles = file(PATH_HTML . "lib-dev/mafe/build.cache", FILE_IGNORE_NEW_LINES);
|
||||
|
||||
@@ -170,9 +170,8 @@ class Step
|
||||
*/
|
||||
public function throwExceptionIfHaveInvalidValueInTypeObj($stepTypeObj)
|
||||
{
|
||||
if (!in_array($stepTypeObj, array("DYNAFORM", "INPUT_DOCUMENT", "OUTPUT_DOCUMENT"))) {
|
||||
if (!in_array($stepTypeObj, array("DYNAFORM", "INPUT_DOCUMENT", "OUTPUT_DOCUMENT", "EXTERNAL"))) {
|
||||
$field = $this->arrayParamException["stepTypeObj"];
|
||||
|
||||
throw (new \Exception(str_replace(array("{0}"), array($field), "Invalid value specified for \"{0}\"")));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user