Ich habe eine Extension erstellt, in der Media-DB-Tabelleneinträge als 1:N Relationen zu News eingegeben werden können.
Das ganze läuft über IRRE und funktioniert eigentlich auch recht gut.
Das Problem ist, dass ich nur 8 Einträge speichern kann, Sobald ich den neunten speichern will erhalte ich diese Fehlermeldung:
1: Attempt to insert record on page '[root-level]' (0) where this table, tx_fkipas_media, is not allowed
Das ist meine TCA-Konfiguration :
// MEDIAFELD der Muttertabelle
"media" => Array (
"exclude" => 0,
"label" => "LLL:EXT:fk_ipas/locallang_db.xml:tx_fkipas_article.media",
"config" => Array (
"type" => "inline",
"foreign_table" => "tx_fkipas_media",
"foreign_field" => "parentid",
"foreign_table_field" => "parenttable",
"maxitems" => 60,
)
),
// Parentid und Parenttable Definition der Kindtabelle
"parentid" => Array (
"config" => Array (
"type" => "passthrough",
)
),
"parenttable" => Array (
"config" => Array (
"type" => "passthrough",
)
),
Beim googlen stieß ich auf diesen Eintrag
http://bugs.typo3.org/bug_view_advanced_page.php?bug_id=5772
Martin Skopal scheint genau das gleiche Problem zu haben wie ich, nur der dort hochgeladene Patch ist in Typo3 4.2 schon eingearbeitet. Deswegen weiß ich jetzt nicht mehr weiter... Hat jemand ein Idee, wäre super!
Schöne Grüße,
Felix