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

Steffen Kamper info at sk-typo3.de
Mon Jul 27 13:06:44 CEST 2009


Hi,

Tobias Pinnekamp schrieb:
> 
> 'config' => array(
>     'type' => 'select',
>     'size' => 5,
>     'minitems' => 0,
>     'maxitems' => 5,
>     'foreign_class' => 'Tx_MovieDb_Domain_Model_Person',
>     'foreign_table' => 'tx_moviedb_domain_model_person',
>     'MM' => 'tx_moviedb_movie_person_mm',
>     'MM_match_fields' => array('ident'=>'directors')
> )
> 
> 

also core doen't handle this correct, as tablenames never written by 
default. Try to add
'neg_foreign_table' => tx_moviedb_domain_model_person'

vg Steffen


More information about the TYPO3-project-typo3v4mvc mailing list