Bug #3275

ValidatorResolver can't parse validator arguments containing round brackets

Added by Robert Lemke 313 days ago. Updated 265 days ago.

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

Revision 2657
Added by k-fish 265 days ago

[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-05-12 15:10 - Robert Lemke

  • Assigned to deleted (Andreas Förthner)

2009-06-02 09:37 - Robert Lemke

  • Target version changed from 1.0.0 alpha 1 to 1.0

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

2009-06-24 17:19 - Karsten Dambekalns

  • Status changed from New to Accepted
  • Assigned to set to Karsten Dambekalns

2009-06-29 16:00 - Karsten Dambekalns

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r2657.

Also available in: Atom PDF