Bug #3275
ValidatorResolver can't parse validator arguments containing round brackets
Status: | Resolved | Start date: | 2009-05-12 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Validation | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 2 | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
Description
Currently validation arguments defined in @validate annotations cannot contain round brackets ')' because they'd be interpreted as the end of an argument expression. Additionally they can't contain commas and probably not even equal signs.
Make sure that either special characters can be escaped or that the values of the validation arguments have to be put into quotes.
Especially important for the RegularExpressionValidator.
Associated revisions
[FIX] FLOW3 (Validation): ValidatorResolver can now parse validator arguments containing round brackets, commas, equal signs, fixes #3275. The option values must be quoted for this to work (either single or double quotes will do).
History
#1 Updated by Robert Lemke about 6 years ago
- Assigned To deleted (
Andreas Förthner)
#2 Updated by Robert Lemke about 6 years ago
- Target version changed from 1.0 alpha 1 to 283
#3 Updated by Robert Lemke about 6 years ago
- Priority changed from Should have to Must have
- Target version changed from 283 to 1.0 alpha 2
#4 Updated by Karsten Dambekalns about 6 years ago
- Status changed from New to Accepted
- Assigned To set to Karsten Dambekalns
#5 Updated by Karsten Dambekalns about 6 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r2657.