[TYPO3-mvc] Need help with mapping a "foreign" table
Sebastian Michaelsen
sebastiangebhard at hoch2.de
Mon Jun 7 10:07:46 CEST 2010
Am 07.06.10 09:05, schrieb Felix Oertel:
> Hey,
>
> Am 07.06.10 08:33, schrieb Sebastian Michaelsen:
>> But when I fetch an instance with $query all properties are set to NULL.
>
> did you set the storagePid correctly?
Hi Felix,
yes, I set
config.tx_extbase.persistence.storagePid
AND
plugin.tx_myext.persistence.storagePid
To be more exactly about the behaviour:
When I call the native findByUid in my Controller, the plugin skips
everthing and returns neither content nor errors.
For debugging I implemented a custom findByUid with
$query->statement('SELECT ...');
I get a result array with an emtpy object (all properties are NULL)
Any more ideas?
More information about the TYPO3-project-typo3v4mvc
mailing list