[TYPO3-mvc] ObjectStorage not initialized at frontend request

Claus Due claus at wildside.dk
Wed Jun 22 10:37:58 CEST 2011


Hi Zalán,

On Jun 22, 2011, at 10:31 AM, Zalán Somogyváry wrote:

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

If the property mapper sets the value when fetching the recod but sets NULL instead of the proper ObjectStorage<ModelObjct>type then this would happen regardless of the constructor statement...

I would check for typos in variable, parameter or annotation names. Then perhaps dump the value given to the setter which sets your objectStorage property (suspecting it might be NULL).

--

Med venlig hilsen / Kind regards

Claus Due
Code Monkey
--
Wildside A/S
Katrinebjergvej 113, DK-8200 Århus N
tlf. 86 12 64 65
http://www.wildside.dk


More information about the TYPO3-project-typo3v4mvc mailing list