Menu

#174 TValidatorGroup checking all validators in the page

open
nobody
None
5
2006-06-09
2006-06-09
No

When using multiple validators and more than 1
validatorgroup's in the same form i got:

[8] Undefined index: [[ValidatorControl]](@line 267 in
file framework\Web\UI\WebControls\TValidatorGroup.php).

I think the reason for this is that the TValidatorGroup
is checking all validators in the page instead of those
attached to it.
IMHO at line 263 instead of:
$validatorIDs = array_keys($validators);

should go:

$validatorIDs = array_keys($this->validatorStates);

This way it just takes into account the it's Members.

Discussion


Log in to post a comment.