BUG 13712 Manual assignment doesn't validate when you don't select a user for the next task SOLVED
- Incorrect validation when the routing rule is "selection" and the next task assigment type is "manual" - Fix incorrect validation
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
if (!isset($_SESSION['USER_LOGGED'])) {
|
||||
G::SendTemporalMessage( 'ID_LOGIN_AGAIN', 'warning', 'labels' );
|
||||
die( '<script type="text/javascript">
|
||||
try
|
||||
try
|
||||
{
|
||||
prnt = parent.parent;
|
||||
top.location = top.location;
|
||||
}
|
||||
catch (err)
|
||||
catch (err)
|
||||
{
|
||||
parent.location = parent.location;
|
||||
}
|
||||
@@ -842,6 +842,7 @@ try {
|
||||
}
|
||||
break;
|
||||
case '': //when this task is the Finish process
|
||||
case 'nobody':
|
||||
$userFields = $oDerivation->getUsersFullNameFromArray( $aFields['TASK'][$sKey]['USER_UID'] );
|
||||
$aFields['TASK'][$sKey]['NEXT_TASK']['USR_UID'] = $userFields['USR_FULLNAME'];
|
||||
$aFields['TASK'][$sKey]['NEXT_TASK']['ROU_FINISH_FLAG'] = true;
|
||||
|
||||
@@ -274,7 +274,7 @@
|
||||
} else {
|
||||
var selectId = "form[TASKS]["+optionSelect+"][USR_UID]";
|
||||
|
||||
if (typeof(document.getElementById(selectId)) != 'undefined' && document.getElementById(selectId) != null && userHidden == '') {
|
||||
if (typeof(document.getElementById(selectId)) != 'undefined' && document.getElementById(selectId) != null && (rouType == 'SELECT' || userHidden == '')) {
|
||||
var vtext = new input(document.getElementById(selectId));
|
||||
|
||||
// verify value select the option select
|
||||
|
||||
Reference in New Issue
Block a user