[TYPO3-mvc] Child objects are missing properties

Stefan Wild sw at sw4.de
Mon Apr 26 10:46:58 CEST 2010


Thanks, Jochen.

> 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).

Best regards,
Stefan

P.S.: The typo in my view was a single "e"...


More information about the TYPO3-project-typo3v4mvc mailing list