[TYPO3-core] RFC #14175: Bug: patch for SQL-related error in backend module belog

Xavier Perseguers typo3 at perseguers.ch
Fri May 14 16:04:44 CEST 2010


Hi,

Thanks for your patch.

> Type: Bugfix
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=14175
>
> Branches:
> TYPO3_4-2 & trunk

4-2 (possibly), 4-3 and trunk.

DBAL is actively maintained (again) since 4-3. However the change is quite obvious and may find its way to 4-2.

> Solution:
> Missing comperator in where clause of sql-statement which generated the
> list causes the error.
> Add comperator and comperating value to the part of the where clause.
> DBAL himself couldn't know what value may be the right, so this can't be
> generated automatically.

I'd go for Björn's version, using "!= 0" instead of "= 1" to be on the safe side even if your version should be OK.

Just for the sake of completeness, could you please report here if works too with "!= 0" ?

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en


More information about the TYPO3-team-core mailing list