Feature #66

Add the feature "Mapping Results" to the Property Mapper

Added by Robert Lemke over 12 years ago. Updated over 9 years ago.

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


PHP Version:
Has patch:


The Property Mapper doesn't only map properties from one object to another but also invokes the necessary validators and filters. Validation, filtering and other mapping errors should be tracked in an object.

The interface for !MappingResult should look similar to this:

public function addError(T3_Framework_Error_Error $error);
public function getErrors();
public function hasErrors();

public function addSuppressedField($fieldName);
public function getSuppressedfields();

Additionally we probably need a "!MappingError" class which extends T3_Framework_Error_Error. This class is then used for true mapping errors. Finally we also need "!ValidationError" - but that belongs to the Validation subpackage.

Associated revisions

Revision 4cfded2e (diff)
Added by Andreas Förthner about 12 years ago

PropertyMapper and Validation is now implemented. This fixes #66, #69 Additionally the Controller Arguments are passed through the validation framework.


#1 Updated by Robert Lemke over 12 years ago

You will have to solve #67 before you create the new Error classes.

#2 Updated by Robert Lemke over 12 years ago

  • Target version changed from 1 to 18

#3 Updated by Andreas Förthner about 12 years ago

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

Applied in changeset r837.

#4 Updated by Robert Lemke almost 12 years ago

  • Target version deleted (18)

Also available in: Atom PDF