Bug #3275
ValidatorResolver can't parse validator arguments containing round brackets
| Status: | Resolved | Start: | 2009-05-12 | |
| Priority: | Must have | Due date: | ||
| Assigned to: | Karsten Dambekalns | % Done: | 100% |
|
| Category: | Validation | |||
| Target version: | 1.0.0 alpha 2 | |||
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
2009-06-04 15:01 - Robert Lemke
- Priority changed from Should have to Must have
- Target version changed from 1.0 to 1.0.0 alpha 2