Bug #10486

Validation for multiple validators and nested objects broken

Added by Karsten Dambekalns almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Must have
Category:
Validation
Start date:
2010-10-27
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

Currently the validation is seriously broken for nested objects and with multiple validators with different options.

The validators were "created" as singletons and options are overwritten each time the same validator type was used.

Additionally the check for "prototype" should use the constant and not a string to work.

#1

Updated by Karsten Dambekalns almost 11 years ago

  • Status changed from Accepted to Under Review
#2

Updated by Christopher Hlubek almost 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF