[TYPO3-mvc] Extbase FrontendSimulator in FE

Bastian Waidelich bastian at typo3.org
Thu Sep 8 11:26:21 CEST 2011


Sebastian Michaelsen wrote:

Hi Sebastian,

> 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?

I'm not sure to be honest, it was merged in january already with 
following comment/diff 
<http://git.typo3.org/TYPO3v4/CoreProjects/MVC/extbase.git?a=commit;h=b2e02f0cdcd9819cb2d7a12ae5ec04660a50125b>


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

If you're sure about the implications, why not? ;)

All the best
Bastian



More information about the TYPO3-project-typo3v4mvc mailing list