[TYPO3-german] WEC Map und NN Address

Stefan Wobbe stefan.wobbe at versanet.de
Thu Oct 9 13:00:28 CEST 2014


Hallo Jan,

danke für die Hilfe. Ich habe das TS wie folgt erweitert:

table = tx_nnaddress_domain_model_address
select = tx_nnaddress_domain_model_address.uid AS uid, tx_nnaddress_domain_model_address.pid AS pid, tx_nnaddress_domain_model_address.zip AS zip, ...
where >
where = pid = 14

Erhalte jetzt aber die Fehlermeldung:
There is no entry in the $TCA array for the table "t". This means that the function enableFields() is called with an invalid table name as argument.

Das deutet ja eher auf einen Fehler beim loadTCA hin. Ich habe den Eintrag noch einmal wie folgt geändert da  t3lib_div ja nicht mehr verwendet werden soll aber ohne Erfolg:

if(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('nn_address')) {
	\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('nn_address');
   $TCA['tx_nnaddress_domain_model_address']['ctrl']['EXT']['wec_map'] = array (
    'isMappable' => 1,
    'addressFields' => array (
    'street' => 'street',
    'city' => 'city',
    'state' => 'region',
    'zip' => 'zip',
    'country' => 'country',
    ),
    );
    }

Im Gegenteil ich erh


More information about the TYPO3-german mailing list