[TYPO3-mvc] FrontendUserRepository broken in trunk?
S.Korth
s.korth at dms-arts.com
Mon May 24 00:32:13 CEST 2010
Andreas Wolf schrieb:
> Am 23.05.10 17:05, schrieb Andreas Wolf:
>> I just noticed that the FrontendUserRepository in recent trunk does not
>> return anything, while current 1.1 works without any problems. I used
>> the following snippet:
>>
>> $repo =
>> t3lib_div::makeInstance('Tx_Extbase_Domain_Repository_FrontendUserRepository');
>> print_r($repo->findByUid(3));
>>
>> Extbase 1.1 prints a complete Tx_Extbase_Domain_Model_FrontendUser
>> object. fe_users:3 exists and is inside storagePid.
>>
>> Am I missing something or is the repository/persistence code really
>> broken in trunk?
>
> Ah. I missed something: For trunk you have to set a value for
> tx_extbase_type in fe_users table. Otherwise the record is of type
> "undefined" and thus not found by the repository... Seems I missed some
> recent development here...
>
> Regards
> Andreas
>
Hey Andreas,
just to round your topic ;-)
Implement Single Table Inheritance: http://forge.typo3.org/issues/show/5883
After introducing "tx_extbase_type" my frontendusers aren't outputted:
http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/2010-April/004113.html
Sascha
More information about the TYPO3-project-typo3v4mvc
mailing list