Bug #10486
Validation for multiple validators and nested objects broken
Status: | Resolved | Start date: | 2010-10-27 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Christopher Hlubek | % Done: | 100% |
|
Category: | Validation | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 13 | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
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.
Associated revisions
[+BUGFIX] Fix validation for multiple validators and nested objects
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.
Fixes: #10486
Change-Id: I9f5f1af9294e6532c78fe357fb087f2c5110deb7
History
#1 Updated by Karsten Dambekalns almost 5 years ago
- Status changed from Accepted to Under Review
#2 Updated by Christopher Hlubek almost 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f5b121d792063cecff9cebea6eab2f05f30d7b7c.