[TYPO3-german] Probleme mit mapping Typo3 6.1

Jan Leifert jan at leifert.net
Fri Jan 24 14:00:46 CET 2014


Hallo,
mein Problem setzt sich leider etwas fort. Dieser Code geht:

plugin.tx_lfrtchat {
    persistence {
        classes {
            Tx_LfrtChat_Domain_Model_User {
                mapping {
                    tableName = fe_users
                 }
           }
        }
    }
}


Sobald ich eine storagePid einfüge fragt er wieder die falsche Tabelle
ab. Also dieser Code ignoriert das mapping:

plugin.tx_lfrtchat {
    persistence {
        storagePid = 2
        classes {
            Tx_LfrtChat_Domain_Model_User {
                mapping {
                    tableName = fe_users
                 }
           }
        }
    }
}



Am 24.01.14 12:30, schrieb Jan Leifert:
> Am 24.01.14 12:16, schrieb Philipp Gampe:
>> Hi Jan Leifert,
>>
>> Jan Leifert wrote:
>>
>>> Hab das im TypoScript-Object browser kontrolliert. Das ist genau wie
>>> dort beschrieben hinterlegt. Aber er fragt trotzdem die falsche Tabelle
>>> ab.
>>
>> Hast du alle Caches gelöscht? Auch den Reflection-Cache?
>>
>> Ansonsten musst du mal in Extbase debuggen, welches TS denn dort
> überhaupt
>> ankommt?
>>
>> Wie rufst du denn deine Klasse auf? Über eine Frontend-Modul?
>>
>> Grüße
>
>
> Also nun funktioniert es.
>
> config.extbase ist der falsche Ort für die Config
>
> config.tx_lfrtchat muss es sein.
>
> Da meine Extension aber lfrt_chat heisst hatte ich da ein _ drin was
> falsch war :-/
>
> Vielen Dank an alle die sich bemüht haben!
>
>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german




More information about the TYPO3-german mailing list