[TYPO3-mvc] FrontendUserRepository broken in trunk?
Andreas Wolf
typo3ml at andreaswolf.info
Sun May 23 17:22:57 CEST 2010
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
More information about the TYPO3-project-typo3v4mvc
mailing list