[TYPO3-mvc] findAll() and findByPropery() gives no results, but findByUid(1) goes like a charm

Aart de Bruijn aart at brownentertainment.nl
Fri Nov 23 11:45:20 CET 2012


Turned out the pid in the constants was overwritten with an empty one 
(which was automatically defined on the page the plugin was set)
Filling in the storage folder worked out.


On 21-11-12 12:35, Aart de Bruijn wrote:
> Hi list,
>
> An issue I ran into while working on a plugin created with the extension
> builder. It has some relations with other records, but the main thing
> I'm amazed by is the $this->somerepository->findAll() function gives no
> results, as the  $this->somerepository->findByUid(1) returns the object
> with the correct info. There are 3 records in the table.
>
> I've found only one suggestion, saying set the right pid in the TS, but
> that's covered.
>
> Probably I'm just missing something.. Any suggestions?
>
> Aart



More information about the TYPO3-project-typo3v4mvc mailing list