Bug #29905

Enable property mapping of Value Objects

Added by Sebastian Kurfuerst almost 4 years ago. Updated almost 4 years ago.

Status:Resolved Start date:2011-09-16
Priority:Must have Due date:
Assigned To:Christopher Hlubek % Done:

100%

Category:Property
Target version:TYPO3 Flow Base Distribution - 1.0.0
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

If a value object is edited through a Fluid form, we should not try to fetch it from persistence, but need to re-create it from scratch due do the value object semantics.

Thus, we need to discard the __identity property in that case.

Associated revisions

Revision ba7f2df6
Added by Christopher Hlubek almost 4 years ago

[BUGFIX] (Property): Enable mapping of Value Objects

If a value object is edited through a Fluid form, we should not try to fetch it
from persistence, but need to re-create it from scratch due do the value object
semantics.

Thus, we need to discard the __identity property in that case.

The change set also adds a functional test.

Resolves: #29905
Change-Id: Iae3eaafffab1b062ff8ef112cfa9aac9f931e46b

History

#1 Updated by Mr. Hudson almost 4 years ago

  • Status changed from New to Under Review

Patch set 2 of change Iae3eaafffab1b062ff8ef112cfa9aac9f931e46b has been pushed to the review server.
It is available at http://review.typo3.org/5001

#2 Updated by Mr. Hudson almost 4 years ago

Patch set 3 of change Iae3eaafffab1b062ff8ef112cfa9aac9f931e46b has been pushed to the review server.
It is available at http://review.typo3.org/5001

#3 Updated by Sebastian Kurfuerst almost 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF