Bug #49815

PersistentObjectConverter does not allow to set arbitrary setters

Added by Christopher Hlubek over 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-07-09
Due date:
% Done:

0%

PHP Version:
Has patch:
No
Complexity:

Description

For a better abstraction of domain logic it is quite important to use "virtual" properties by implementing additional getters or setters that will set internal properties. For example calculated properties, where a form should set a value that will be stored in some other format or value.

The PersistentObjectConverter uses only the class schema which is built from all non-transient properties of a class. The ObjectConverter instead uses only setters or constructor arguments to get the type of child properties during type conversion.

Associated revisions

Revision 8c28a586 (diff)
Added by Christopher Hlubek over 6 years ago

[BUGFIX] Allow arbitrary setters in PersistentObjectConverter

This change supports additional setters in entities by implementing a
fallback to the reflection service if the class schema does not contain
a property.

Change-Id: I521790eaa28768831f96cd3397f21c606b7a8ae7
Resolves: #49815
Releases: master, 2.0

Revision 4d68da2c (diff)
Added by Christopher Hlubek over 5 years ago

[BUGFIX] Allow arbitrary setters in PersistentObjectConverter

This change supports additional setters in entities by implementing a
fallback to the reflection service if the class schema does not contain
a property.

Change-Id: I521790eaa28768831f96cd3397f21c606b7a8ae7
Resolves: #49815
Releases: master, 2.0

History

#1 Updated by Gerrit Code Review over 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22140

#2 Updated by Gerrit Code Review over 6 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22140

#3 Updated by Gerrit Code Review over 6 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22140

#4 Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch 2.0 of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/27203

#5 Updated by Bastian Waidelich over 5 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF