[TYPO3-mvc] Using a foreign model which uses an existing table (tx_dam) needs persistance-typoscript twice

Felix Oertel mehl at foertel.com
Wed Apr 21 17:08:56 CEST 2010


Hi

Am 21.04.10 17:00, schrieb Marco Huber:
> plugin.A.persistence.classes.A_Domain_Model_Dam.mapping.tableName =
> tx_dam
> [...]
> Can anybody give me a hint why I have to write the Typoscript twice?

because the TS config of "plugin.A." is only used in plugin A not in 
Plugin B. I'd guess that extbase won't find the correct mapping rules if 
you run plugin B.

There is a way to map tables globaly in plugin.tx_extbase.persistence, 
isn't it?

regards, foertel


More information about the TYPO3-project-typo3v4mvc mailing list