[TYPO3-mvc] Repository returns empty array

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Tue Dec 8 13:49:40 CET 2009


Hello,

my attempt:
	$this->projectRepository->findByPid(7);

or this attempt:
	$this->projectRepository->findAll();

return both an empty Array. The repository is
defined in the directory 'Repository'. Everything's
working (the template is beeing found an printed in
the front end, thus the controller is beeing called,
just the repository returns no objects).

What I'm doing wrong? I'd like to debug this,
e.g. see what Query Statement is beeing executed,
but I can't find a way to do so.

Does anybody have an idea?

Thanks a lot!

PS: I'm using TYPO3 4.3.0 (final).


More information about the TYPO3-project-typo3v4mvc mailing list