[TYPO3-mvc] Retrieving the parent of an object while maintainingTCA definition

Franz Koch typo3.RemoveForMessage at elements-net.de
Fri Feb 26 20:26:47 CET 2010


Hi,

> I'm facing the following issue: when I add a field for the parent of an
> object inside the child, along with the Class type, I get a blank page.

sounds like a endless recursion trying to fetch the related objects back 
and forth.

> /**
>   * title
>   * @var Tx_Mdspprojects_Domain_Model_Application
>   */
> protected $application;

add a @lazy annotation to the property referencing to the parent object 
and you should be fine.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list