ProcessMaker-MA "InputDocuments and DynaForms (Fixes)"
- Se han mejorado y corregido el nombre de las variables (prj_uid) - Se han completado validaciones al: Crear y Actualizar un InputDocument - Se ha corregido el "negative_tests_input.feature" (behat) para el InputDocument, los cambios corresponden a nombres de atributos
This commit is contained in:
@@ -237,7 +237,7 @@ class Project extends Api
|
||||
if ($mappedUid !== false) {
|
||||
$flowData["FLO_ELEMENT_ORIGIN"] = $mappedUid;
|
||||
}
|
||||
|
||||
|
||||
$mappedUid = self::mapUid($flowData["FLO_ELEMENT_DEST"], $result);
|
||||
if ($mappedUid !== false) {
|
||||
$flowData["FLO_ELEMENT_DEST"] = $mappedUid;
|
||||
@@ -358,6 +358,8 @@ class Project extends Api
|
||||
{
|
||||
try {
|
||||
$process = new \BusinessModel\Process();
|
||||
$process->setFormatFieldNameInUppercase(false);
|
||||
$process->setArrayFieldNameForException(array("processUid" => "prj_uid"));
|
||||
|
||||
$response = $process->getInputDocuments($prj_uid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user