[TYPO3-mvc] Mapping property to a MM Relation

Franz Koch typo3.RemoveForMessage at elements-net.de
Thu Oct 27 09:10:56 CEST 2011


Hey Dirk,

> I forgot to add the 'foreign_table' attribute in the TCA.
>
> "foreign_table" => "tx_itbmemento_domain_model_servicepackagetemplate"
>
> Mybe it it's because I used TYPO3 Core API documentation. In the chapter
> 'group' there is no attribute 'foreign_table' listed and so I didn't add
> it. Maybe it should be added there.

fields of type "group" are not yet fully supported by their regular TCA 
configuration. The workaround is to add 'foreign_table' which you 
already found out yourself. The problem with group fields is that they 
actually support relations to different tables in TYPO3 which does not 
fit well to the Extbase concept.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list