[TYPO3-mvc] ObjectStorage Persistence Issues

Bernhard Schmitt himself at nezaniel.org
Fri Apr 20 11:29:57 CEST 2012


Hi there,

I've run into some strange behaviour when using ObjectStorages.

I'm using an f:for ViewHelper on an ObjectStorage and call a model 
function for each child object. This function performs another foreach() 
over the same ObjectStorage.

When break-ing from the inner foreach the following happens:
Somehow the remaining child objects lose their localization settings and 
are attached to their parent's localization parent. These changes are 
then persisted in the database.

Is this the intended behaviour or a bug?

Best regards
Bernhard


More information about the TYPO3-project-typo3v4mvc mailing list