[TYPO3-mvc] repository update through commandController does not proceed

Domi djgarms at gmail.com
Thu Sep 6 18:32:49 CEST 2012


Hello again,

I think that some configuration stuff is missing. Here again my steps 
for commandController:

Step 1:
ext_localconf.php

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] 
= 'Tx_Intranet_Command_SendmailCommandController';


Step 2:
constants.txt

module.tx_intranet.persistence.storagePid = 1081

Step 3:
SendmailCommandController.php

$this->newsletterRepository = 
t3lib_div::makeInstance('Tx_Intranet_Domain_Repository_NewsletterRepository');
$newsletters = $this->newsletterRepository->findAll()->toArray();

--> this remains EMPTY, even there are datasets inside


What is missing?

Thanks for your support!

Dominic


More information about the TYPO3-project-typo3v4mvc mailing list