[TYPO3-mvc] How to extend and treat Tx_Extbase_Domain_Model_FrontendUserGroup in m:n relation SOLVED

Martin Kokeš shr3k at typo3-hosting.com
Wed Feb 8 12:49:56 CET 2012


Thank you for simple solution. I changed all the Tx_Example_Domain_Model_FrontendUserGroup to Tx_Extbase_Domain_Model_FrontendUserGroup in my Layer model and now it works.

Martin

----- Original Message -----
From: Marc Bastian Heinrichs
[mailto:typo3 at mbh-web.de]
To: typo3-project-typo3v4mvc at lists.typo3.org
Sent:
Wed, 08 Feb 2012 12:14:32 +0100
Subject: Re: [TYPO3-mvc] How to extend and
treat Tx_Extbase_Domain_Model_FrontendUserGroup in m:n relation


> Hej,
> 
> > I have following simple Extbase Domain Model:
> > Project<projectLayers(m:n)>  Layer<frontendUserGroups(m:n)> 
> FrontendUserGroup
> >
> > Object FrontendUserGroup is simply extension of
> Tx_Extbase_Domain_Model_FrontendUserGroup with no additional functionality
> or fields:
> > class Tx_Example_Domain_Model_FrontendUserGroup extends
> Tx_Extbase_Domain_Model_FrontendUserGroup {
> >
> > }
>  >
>  > [...]
>  >
>  > Can anyone kick me right way please
> 
> It should work if you relate layer to 
> Tx_Extbase_Domain_Model_FrontendUserGroup and not your own class.
> 
> But if you want to use your own class you need to adapt or disable the 
> single table inheritance configuration for FrontendUserGroup.
> 
> Best
> Maba
> 
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
> 


More information about the TYPO3-project-typo3v4mvc mailing list