[TYPO3-mvc] Modifies objects inside objectStorages don't seem to get persisted

Kilian Hann khann at fconnection.com
Mon Jan 24 15:38:50 CET 2011


Hi Franz,
On 2011-01-24 14:04:20 +0100, Franz Koch said:

> It's already sufficient to trigger the attach and add one of the 
> containing objects (or the modified one) again, but it's still no 
> solution of course, but maybe a bit "cleaner" then adding an ugly hack.

In this specific case I'm working with a n:1 relationship (Many 
addresses can have one country)
Therefore I only have a $address->setCountry(Tx_...Country $country) 
method, which doesn't mark the address Object as dirty automatically.

Best wishes,
Kilian
-- 
Future Connection AG
http://fconnection.com



More information about the TYPO3-project-typo3v4mvc mailing list