Feature #69

Add validation to the PropertyMapper

Added by Robert Lemke over 14 years ago. Updated almost 12 years ago.

Should have
Target version:
Start date:
Due date:
% Done:


Estimated time:
PHP Version:
Has patch:


Add validation functionality to the Property Mapper.

First we need a way to set the validator - a method like setValidator() should be added to the property mapper.
If no validator was set but map() was called, the Property Mapper should try to find one by asking the T3_Framework_Validation_ValidatorResolver (see #70). If none was found, no validation is done.

While mapping we should probably validate each property before setting it in the target object. An open question is if it makes sense to validate the whole target object after mapping.

Validation Errors should be added to the Mapping Results.


Updated by Robert Lemke over 14 years ago

  • Target version changed from 1 to 18

Updated by Andreas Förthner over 14 years ago

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

Applied in changeset r837.


Updated by Robert Lemke about 14 years ago

  • Target version deleted (18)

Also available in: Atom PDF