From 4287c4e17e0734abb049748c41684692e2184455 Mon Sep 17 00:00:00 2001 From: Daniel Rojas Date: Wed, 26 Mar 2014 17:08:19 -0400 Subject: [PATCH] Se modifica el mensaje de error en delete para cases OUTPUT e INPUT DOCUMENTS. --- workflow/engine/src/BusinessModel/Cases/InputDocument.php | 2 +- workflow/engine/src/BusinessModel/Cases/OutputDocument.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/engine/src/BusinessModel/Cases/InputDocument.php b/workflow/engine/src/BusinessModel/Cases/InputDocument.php index 745a79399..7a03f94e7 100644 --- a/workflow/engine/src/BusinessModel/Cases/InputDocument.php +++ b/workflow/engine/src/BusinessModel/Cases/InputDocument.php @@ -104,7 +104,7 @@ class InputDocument try { $oAppDocument = \AppDocumentPeer::retrieveByPK( $inputDocumentUid, 1 ); if (is_null( $oAppDocument ) || $oAppDocument->getAppDocStatus() == 'DELETED') { - throw (new \Exception('This row doesn\'t exist!')); + throw (new \Exception('This input document with id: '.$inputDocumentUid.' doesn\'t exist!')); } \G::LoadClass('wsBase'); $ws = new \wsBase(); diff --git a/workflow/engine/src/BusinessModel/Cases/OutputDocument.php b/workflow/engine/src/BusinessModel/Cases/OutputDocument.php index 23e955d21..b1ac382bb 100644 --- a/workflow/engine/src/BusinessModel/Cases/OutputDocument.php +++ b/workflow/engine/src/BusinessModel/Cases/OutputDocument.php @@ -102,7 +102,7 @@ class OutputDocument try { $oAppDocument = \AppDocumentPeer::retrieveByPK( $applicationDocumentUid, 1 ); if (is_null( $oAppDocument ) || $oAppDocument->getAppDocStatus() == 'DELETED') { - throw (new \Exception('This row doesn\'t exist!')); + throw (new \Exception('This output document with id: '.$applicationDocumentUid.' doesn\'t exist!')); } \G::LoadClass('wsBase'); $ws = new \wsBase();