[TYPO3-mvc] ObjectStorage not initialized at frontend request

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


Hi Claus,

Am 22.06.2011 um 10:13 schrieb Claus Due:

> Hi Zalan,
> 
> Have you checked that all your attribute annotations are OK? This could be due to the ObjectStorage being set with a NULL value if you use it as a controller action argument.

>> Within an action an object is retrieved from a repository


It's not an action argument. It is retrieved from the repository.

> I'm just guessing here but the symptoms fit with a NULL-value where ObjectStorage is expected.

Yes I know this, but how can it be a null value if extbase should call the __constructor() at retrieving it from the repository, and in there I have:

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


I think that's a strange behaviour....

Best regards,
Zalán Somogyváry





More information about the TYPO3-project-typo3v4mvc mailing list