[TYPO3-mvc] Child objects are missing properties
Jochen Rau
jochen.rau at typoplanet.de
Mon Apr 26 10:59:29 CEST 2010
Hi.
On 26.04.10 10:46, Stefan Wild wrote:
> Thanks, Jochen.
You're welcome.
>> No. Everything seems to be fine here. You added the @lazy annotation
>> (which was the right hint from Christine). As a result the related
>> objects only fetched if you access the (Lazy)ObjectStorage, e.g. with a
>> foreach($ereignisse as $ereignis) or in your template.
>>
>> Did you try this?
>
> I did. However, I had a typo in the view that kept it from working.
> Also, I did not explicitly access the (Lazy)ObjectStorage in the
> controller (after some failed tries raising exceptions back when the
> model was still misconfigured). So, I never noticed when everything
> started working (probably hours ago).
Glad to hear it's working now. I am sure that you don't have to annotate
every property with @lazy.
Jochen
More information about the TYPO3-project-typo3v4mvc
mailing list