Bug #3801

ValidatorResolver doesn't accept custom validator classes as validator name

Added by Christopher Hlubek about 6 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2009-06-29
Priority:Must have Due date:
Assigned To:Christopher Hlubek % Done:

100%

Category:Validation
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 2
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

When trying to implement a new Validator for URLs I stumbled upon a problem in the ValidatorResolver: it is currently not possible to add custom validators (not based on the model) e.g. for an E-Mail or URL. It should be possible to add a class name, but the Regexp doesn't allow for backslashes in the pattern.

Associated revisions

Revision 35e43ea0
Added by Christopher Hlubek about 6 years ago

[FIX] FLOW3 (Validation): ValidatorResolver now accepts namespaced class names in validator annotations. This enables custom validator classes and fixes #3801

History

#1 Updated by Christopher Hlubek about 6 years ago

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

Applied in changeset r2658.

Also available in: Atom PDF