[TYPO3-mvc] Extbase mapping objects with pid 0

"Christian Müller (Kitsunet)" christian at kitsunet.de
Sun Jun 27 10:21:35 CEST 2010


On 27.06.2010 01:22, Thomas "Thasmo" Deinhamer wrote:
> Hello folks,
>
> using the latest revision of Extbase (2395) I was not able to map
> a country object (static_info_tables) on a property of a model object.
>
> Imo the typoscript configuration and the model annotations should
> be correct. Extbase gives me no error at all, but the country property
> on the model object is just empty but should be populated by Extbase
> automatically when the object is reconstituted.
>
> Is there a known limitation fetching records from pid 0?
> I don't want to set the respect storage page setting to FALSE imo.
>
> Any ideas?
>
> Thanks a lot,
> Thomas

If pid 0 is not your storage page then it won't work. I had a similar 
problem, see discussion "Tx_Extbase_MVC_Controller_Argument 
StoragePage". So respect storage page FALSE is the way to go or try if 
you can add pid 0 to your storage page.


More information about the TYPO3-project-typo3v4mvc mailing list