BUG 5979 "Cases are overwritten with data from another..." SOlVED

- problem fixed passing the app uid by GET and acomparing with the session data
  so, if there were differents a message to re-open case will be throw
This commit is contained in:
Erik Amaru Ortiz
2011-11-23 19:10:25 -04:00
parent 92c35449bd
commit 7f336e1757
2 changed files with 223 additions and 206 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -218,7 +218,7 @@ $uidf=$_GET['UID'];
$oDbConnections->loadAdditionalConnections();
$_SESSION['CURRENT_DYN_UID'] = $_GET['UID'];
$G_PUBLISH->AddContent('dynaform', 'xmlform', $_SESSION['PROCESS']. '/' . $_GET['UID'], '', $Fields['APP_DATA'], 'cases_SaveData?UID=' . $_GET['UID'], '', (strtolower($oStep->getStepMode()) != 'edit' ? strtolower($oStep->getStepMode()) : ''));
$G_PUBLISH->AddContent('dynaform', 'xmlform', $_SESSION['PROCESS']. '/' . $_GET['UID'], '', $Fields['APP_DATA'], 'cases_SaveData?UID=' . $_GET['UID'] . '&APP_UID=' . $_SESSION['APPLICATION'], '', (strtolower($oStep->getStepMode()) != 'edit' ? strtolower($oStep->getStepMode()) : ''));
break;
case 'INPUT_DOCUMENT':