[TYPO3-mvc] plug called 5 times per view?

Stefano Cecere scecere at krur.com
Thu Feb 10 13:41:13 CET 2011


hi

i'm just testing my first ext with ExtBase (created the basic structure  
with ExtBase Kickstarter.. now i'm adding my stuff)

what i don't understad is why (putting a simple t3lib_div::devLog in

	public function listAction() {
		$products = $this->productRepository->findAll();
		t3lib_div::devLog('preProcessFieldArray', 'myext', 0, array('test'));
		$this->view->assign('products', $products);
	}

it creates 5 records everytime i view the plug in FE.

it's the default controller, defined by:


Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'Catalog',
	array(
		'Product' => 'list, show',
		'Material' => 'list, show',
		'Collection' => 'list, show',
	),
	array( // An array of non-cachable controller-action-combinations (they  
must already be enabled)
		'Product' => '',
	)
);



any idea?
is it normal?

s



-- 
____    ___   __  _ ______________________

   Stefano Cecere
   KRUR.com


More information about the TYPO3-project-typo3v4mvc mailing list