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:
@@ -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