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

Ferdinand Kuhl fcool at coolys.de
Wed Aug 17 17:11:54 CEST 2011


Hi List,

is it possible, that I found a bug?

Following happens:
At a queryResult retrieved from findAll() i simply do $result->getQuery()-
>execute().

I get an empty result. If I do comment out the try catch block (lines 113 
and 115-117) in
FLOW3/Packages/Framework/TYPO3.FLOW3/Classes/Persistence/Doctrine/Query.php

I receive an Exception [Syntax Error] line 0, col -1: Error: Expected 
Literal, got end of string

If i do some stupid $result->getQuery->matching( SENSELESS CONSTRAINT HERE ) 
everything works as expected.

Greetings,
Ferdinand Kuhl


More information about the FLOW3-general mailing list