[TYPO3-english] FrontendUserRepository in custom extension
Sinisa Mitrovic
sinisa.mitrovic at avisto-eastern.com
Wed Dec 24 15:11:05 CET 2014
Hello,
Did you set up persistence storage pid (id of sys folder with fe_user
records)?
You need to set that up, so extension know where to look up for records.
Best regards,
Sinisa Mitrovic
On 12/24/2014 2:20 PM, Siva Prasad wrote:
> HI Guys ,
>
> I am developing a custom extension where I need to use the frontend
> users in a select box. So for that
> /**
> * frontendUserRepository
> *
> * @var \TYPO3\CMS\Extbase\Domain\Repository\FrontendUserRepository
> * @inject
> */
> protected $frontendUserRepository = NULL;
>
> and inside the list action
> $forntendusers = $this->frontendUserRepository->findAll(); everything
> works fine with out any issues . But I am getting an empty result set .
> "TYPO3\CMS\Extbase\Persistence\Generic\QueryResultprototypeobject
> (empty)" . Read lots of posts related this issue , couldn't exactly
> find out the reason.
>
> Any help would be appreciated !!
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list