[TYPO3-mvc] ObjectStorage not initialized at frontend request

Zalán Somogyváry zalan at gmx.net
Wed Jun 22 12:31:03 CEST 2011


Hello Claus,

Thanks for your help:

I've solved it with a really dirty hack (I just added the following code in the addMethod):

if($this->variable === NULL) $this->variable = new Tx_Extbase_Persistence_ObjectStorage();

I know this is not a very good Idea, but it solves this problem for the moment...

Best regards,
Zalán Somogyváry





More information about the TYPO3-project-typo3v4mvc mailing list