[TYPO3-german] Extbase Extension - DB Update wird nicht ausgführt

JCL - Johannes C. Laxander jc at laxander.com
Thu May 15 11:11:21 CEST 2014


Ich setzte nochmal einen dringenden Hilferuf ab!!!

Ich habe nach dem Hinweis von Bernd meine ext_table.php entsprechend ergänzt:

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tabelle', array(
         'feld1' =>
            array('config' => array('type' => 'passthrough'))
));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
				'tabelle',
				'feld1'
);

Aber auch das hat nichts bewirkt. Wenn ich die Extension unter TYPO3 6.2 neu installiere, wird die Tabellenstruktur nicht aktualisiert, es erfolgt KEIN Database Compare / Update.
Auch in der $TCA-Konfiguration kann ich keinen Eintrag unter columns finden.

Was läuft hier falsch? Was habe ich vergessen?

Wäre toll, wenn mir jemand helfen könnte uch ich wieder einen kleinen Schritt weiterkäme.

Gruß, Johannes.
 

> -----Ursprüngliche Nachricht-----
> Von: typo3-german-bounces at lists.typo3.org 
> [mailto:typo3-german-bounces at lists.typo3.org] Im Auftrag von 
> JCL - Johannes C. Laxander
> Gesendet: Mittwoch, 14. Mai 2014 14:02
> An: 'German TYPO3 Userlist'
> Betreff: Re: [TYPO3-german]Extbase Extension - DB Update wird 
> nicht ausgführt
> 
> 
> Hallo Bernd, 
> 
> danke für deine Antwort. 
> 
> > bernd wilke
> > Gesendet: Mittwoch, 14. Mai 2014 13:06
> > 
> > 
> > klassisch waren es früher folgende Zeilen in der ext_tables.php:
> > 
> > t3lib_div::loadTCA('tt_address');
> > t3lib_extMgm::addTCAcolumns('tt_address',$tempColumns,1);
> > t3lib_extMgm::addToAllTCAtypes('tt_address','tx_myextension_my
> > field;;;;1-1-1');
> > 
> > wobei dann $tempColumns die TCA-Definition der neuen Felder ist.
> > 
> 
> t3lib_div::loadTCA ist seit 6.1 deprecated:
> 
> Refactoring of the TCA caching
> The TCA is now cached separately in an easier way for 6.1, 
> and available all the time. So, no need to call 
> t3lib_div::loadTCA('tx_myext') is needed anymore.
> Siehe auch: 
> http://typo3.org/news/article/typo3-cms-61-alpha-1-released/
> 
> Für t3lib_extMgm::addToAllTCAtypes gibt man jetzt 
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTC
Atypes an.
> 
> Ich habe in meiner ext_tables.php bisher nur dies drin und 
> werde es mal entsprechend ergänzen:
> 
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefFo
rTCAdescr('tx_sccruiseplan_domain_model_cruise', > 'EXT:sc_cruise_plan/Resources/Private/Language/locallang_csh_t
> x_sccruiseplan_domain_model_cruise.xlf');
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTable
OnStandardPages('tx_sccruiseplan_domain_model_cruise');
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolu
mns('tx_sccruiseplan_domain_model_cruise', array( ...
> );
> 
> Johannes.
> 
> _______________________________________________
> 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