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

Sebastian Kurfürst sebastian at typo3.org
Wed Apr 21 19:35:29 CEST 2010


Hey,

> 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.
exactly.

> There is a way to map tables globaly in plugin.tx_extbase.persistence,
> isn't it?
not plugin.tx_extbase.*, but config.tx_extbase.*

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list