[TYPO3-mvc] Extbase FrontendSimulator in FE

Sebastian Michaelsen sebastian.gebhard at gmail.com
Wed Sep 7 22:59:10 CEST 2011


Hi,

I failed trying this:

plugin.tx_myext.persistence {
	storagePid = {TSFE:id}
	storagePid.insertData = 1
}

storagePid is parsed through stdWrap, BUT TSFE:id doesn't work. The 
reason is that not the real TSFE is used but 
Tx_Extbase_Utility_FrontendSimulator is used to generate a temporary FE 
(which has no ->id set).
While this makes perfect sense in the Backend, I don't get the point for 
this while being in the FE. When there is a $GLOBALS['TSFE'] object, why 
should we instanciate a new one?

Should I hand in a patch which only creates a new FE-Object if none is 
available?

Kind regards,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list