Bug #7049

PropertyMapper tries to change value objects when mapping

Added by Karsten Dambekalns almost 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
Property
Start date:
2010-03-29
Due date:
% Done:

100%

Estimated time:
2.00 h
PHP Version:
Has patch:
Complexity:

Description

When the PropertyMapper receives data that ends up in an value object and it detects values to apply after reconstitution it tries to call map(). But value objects are immutable and thus have no setters, this ends up in mapping errors. it should build a new value object instead.

Also available in: Atom PDF