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

Jochen Rau jochen.rau at typoplanet.de
Tue Jun 15 17:17:17 CEST 2010


Hi.

BT Reference: http://forge.typo3.org/issues/show/8244

Has Unit Tests: No (will be implemented before the persistence layer refactoring)

Description:
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.

Regards
Jochen

P.S. Please find the patch in the tracker. (slrn is a great newsreader but how to attach files? ;-))


More information about the TYPO3-project-typo3v4mvc mailing list