[TYPO3-mvc] ObjectStorage Persistence Issues

Bernhard Schmitt himself at nezaniel.org
Fri Apr 20 16:32:50 CEST 2012


Okay, solved this "issue" myself.
Not reloading the parent object from the repository in the getter 
function helps a lot...
face -> wall

Am 20.04.12 11:29, schrieb Bernhard Schmitt:
> 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