[TYPO3-english] Re: Get Data Be_Users through backendUserRepository

Simon Prammer simon.prammer at incert.at
Wed Feb 17 12:52:10 CET 2016


Unfortiunately i can not nail down the error too much.
Basically how my process works:

Im inside a certain controller and execute an action side there.
so lets say im in the file testController.php and execute:


//inject Tx_Extbase_Domain_Repository_BackendUserRepository here so i can use it later

public function testAction(){

//some code here


$beUserObj = $this->backendUserRepository->findByUid($uid);
//from this point on the rest of the code gets ignored because the process jumps out of the function and falls back to the default behaviour of displaying the actions template. even die(); or any other code gets completely ignored ofc
}

So is it just not possible to access data via this repository im using? cause all i want is get some backendUser information which i can access completely fine over my database client.


More information about the TYPO3-english mailing list