[TYPO3-english] Extbase: Introduce explicit saving of modified domain objects
Vitoandre D'Oria
doria at wiro-consultants.com
Fri Oct 4 14:41:03 CEST 2013
Hey folks!
We are still locked to Extbase 1.3 but will switch to 6.2 next year
Thus i was reading the Extbase Breaking Changes and stumbled over the following:
http://forge.typo3.org/projects/typo3v4-mvc/wiki/Breaking_Changes#From-Extbase-60-to-Extbase-61
"Introduce explicit saving of modified domain objects"
The related Ticket: http://forge.typo3.org/issues/47251
Im wondering if i really would need to update all models as described ??
While it makes sense (i neither like the current behaviour) i am wondering if this also applies on nested models???
What happens if i got such a structure:
parent -> child -> grandChild
Would it be enough to update the parent in order to create/update the child and grandChild?
Othewise it sounds ugly to traverse the whole tree to update each model
If the second? How are you doing this? Is there some extbase magic to do this? or do we just have to foreach ... bleh!
Also does this only apply on "update" or "create" too?
Hope someone can shed some light as the ticket nor breaking changes explain it well enough
More information about the TYPO3-english
mailing list