[TYPO3-mvc] T3 6.1 Injection of Repository mapped to FE_User not working

Ludwig Rafelsberger ludwig.rafelsberger at gmx.at
Wed Dec 18 09:58:41 CET 2013


Am Tue, 17 Dec 2013 23:28:05 +0100
schrieb g4-lisz at tonarchiv.ch:

Hi Till, 

Does your PortalUser have a valid property customer?

Then: What happens if you explicitely create the Repository object
(remove the @inject, insert something like
$this->portalUserRepository =
$this->objectManager->get('\\GK\\Stdapp\\Domain\\Repository\\PortalUserRepository');
into the initializeObject() method? Could you …::var_dump() the result
to check if it is there?

Besides, I assume "ext_typoscritp_setup.txt" is a typo only in the mail…

Cheers, 
Ludwig


More information about the TYPO3-project-typo3v4mvc mailing list