[TYPO3-mvc] Multiple MM relations using the same relation table with ident column

Tobias Pinnekamp typo3 at tpinne.de
Sun Jul 26 00:03:50 CEST 2009


Hi everybody,

is it a not yet implemented or missing feature or a bug, that one cannot 
use the same relation table for different MM relations?

I have model "Person" and a model "Movie". A movie can have actors, 
directors and so on. But that are all persons. So I created one relation 
table to use this for the different relations using the TYPO3 feature of 
the ident column.

In the backend everything works fine (of course). But when I access the 
properties of a movie object I get the same list of objects for every 
property. Getting ALL persons assigned to a movie, regardless for which 
property.

Any hint is welcomed.

Best regars
Tobias


More information about the TYPO3-project-typo3v4mvc mailing list