[TYPO3-mvc] Repository doesn't work if called from different controller

Raymund Tump raymund.tump at gmx.de
Fri Jan 21 12:52:23 CET 2011


Hi Franz,

> $this->>objectManager->get('ClassName') instead in future, because only

And the book was called future-proof extensions...

> I think in the final version it should be
> $projectRepository->>findByCustomer($customer) in order to get only the
> projects for this customer.

Right. To much test changes and to less attention before posting.

>> Is there a way to output the SQL query to the debugLog? The used
>> version is Typo3 v4.5beta4.

> You would have to add a debugLog call yourself inside 
> Tx_Extbase_Persistence_Storage_Typo3DbBackend.

This and the hint for the storagePIDs helped to solve both problems I
had.

-- 
Thanks
Raymund



More information about the TYPO3-project-typo3v4mvc mailing list