[TYPO3-mvc] RFC #8244: Changes made to a domain object sitting at a "dirty" property won't get persisted

Franz Koch typo3.RemoveForMessage at elements-net.de
Thu Jun 17 10:59:16 CEST 2010


Hey Jochen,

> Problem:
> If the data of a Domain Object is altered, the field of the parent table gets updated but the Domain Object itself not. This is because the Domain Object is only added to the queue if it is new.
>
> Solution:
> The solution is to add it to the queue if the parent property is dirty regardles of its state of the domain object.

doesn't that create some unnecessary overhead with valueObjects? Are 
those supposed to have relations to other objects, too?

If that's not an issue, +1 on reading.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list