[TYPO3-mvc] MM on self using IRRE
Marc Bastian Heinrichs
typo3 at mbh-web.de
Sun Sep 11 23:11:11 CEST 2011
Hej,
> I know a lot has been said about MM relationships. Less has been said
> about MM relations to an object of the same kind, but still somethings
> has been said about it.
>
> I wonder if there is a working solution to create a MM relation (IRRE,
> symmetric) with Extbase.
>
> I can get this to perfectly work in the TCA. When getting to the FE
> though, it tries to find the uid_local from the MM-table in the object,
> which of course doesn't work.
>
> I set the mapping of the respective property to the uid column, and it
> got the sql error out of the. But none of the records were found in the
> foreach loop in Fluid, so I gues something goes wrong here still.
>
> I have a workaround now, but would like to know if this should be
> working at this point of time.
I'm no IRRE expert, but what I could say is, that extbase doesn't
support IRRE with an t3-core mm-table. If I have it correct in mind, you
could define an irre based mm-relation by using an own special mm-model.
I think, that there are some examples here.
Best
Marc Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list