[FLOW3-general] ->getQuery()->execute() fails

Ferdinand Kuhl fcool at coolys.de
Wed Aug 17 17:43:23 CEST 2011


Hey,

I'm using the git repository at 
git://git.typo3.org/FLOW3/Distributions/Base and have current master.

With this version I can confirm that everythings work IF there is a 
constraint. If I use findAll() originally, it does not work.

I do know, that I shouldn't need to call getQuery normally, but I build a 
jqQuery-Widget using the existing paginate-widget as base. 

Sebastian Kurfürst wrote:

> Hey,
> 
> Are you sure you use the newest version?
> 
> I think I solved it with
> 
http://git.typo3.org/FLOW3/Packages/FLOW3.git?a=commit;h=237b0ac74d86ab207e1ee7c1715f7bf364cb2fa7
> 
> However, you should *not* need to call getQuery->execute() on the query
> result unless you have a very specific reason to do so.
> 
> Instead, you should think of the Query Result as *array*, and simply
> iterate over it using Foreach.
> 
> Greets,
> Sebastian



More information about the FLOW3-general mailing list