Bug #7049

PropertyMapper tries to change value objects when mapping

Added by Karsten Dambekalns over 11 years ago. Updated about 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.

#1

Updated by Karsten Dambekalns over 11 years ago

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

Applied in changeset r4019.

Also available in: Atom PDF