Project

General

Profile

Actions

Bug #25488

closed

compileWhereClause causes Extbase errors with DBAL due to wrong handling of FIND_IN_SET

Added by Patrick Schriner about 13 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
Start date:
2011-03-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

t3lib_sqlparser::compileWhereClause iterates over the where subparts. It is called from DBAL when running DBAL in native (mysql) mode.

It does however resets it's output string whenever the subpart is either FIND_IN_SET or IFNULL. This causes the queries built by extbase to fail.


Files

25488.diff (1.15 KB) 25488.diff a patch proposal Patrick Schriner, 2011-03-31 12:16

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #27134: wrong where clause compilation with multiple FIELD_IN_SET query partsRejected2011-05-30

Actions
Actions #2

Updated by Mr. Hudson about 13 years ago

Patch set 1 of change Iea3d6f02cc9b8151f9fd6454f393ff6089567a03 has been pushed to the review server.
It is available at http://review.typo3.org/1458

Actions #3

Updated by Patrick Schriner almost 13 years ago

Could anyone take a look at this? This is a fairly trivial patch :-)

Actions #4

Updated by Chris topher almost 13 years ago

  • Status changed from New to Under Review
Actions #5

Updated by Mr. Hudson almost 13 years ago

Patch set 2 of change Iea3d6f02cc9b8151f9fd6454f393ff6089567a03 has been pushed to the review server.
It is available at http://review.typo3.org/1458

Actions #6

Updated by Mr. Hudson almost 13 years ago

Patch set 3 of change Iea3d6f02cc9b8151f9fd6454f393ff6089567a03 has been pushed to the review server.
It is available at http://review.typo3.org/1458

Actions #7

Updated by Mr. Hudson almost 13 years ago

Patch set 1 of change I1c37232fa11a9c3018b07b150fb0478efdef6aa5 has been pushed to the review server.
It is available at http://review.typo3.org/2421

Actions #8

Updated by Mr. Hudson almost 13 years ago

Patch set 2 of change I1c37232fa11a9c3018b07b150fb0478efdef6aa5 has been pushed to the review server.
It is available at http://review.typo3.org/2421

Actions #9

Updated by Mr. Hudson almost 13 years ago

Patch set 3 of change I1c37232fa11a9c3018b07b150fb0478efdef6aa5 has been pushed to the review server.
It is available at http://review.typo3.org/2421

Actions #10

Updated by Xavier Perseguers almost 13 years ago

  • Status changed from Under Review to Resolved
  • Assignee set to Xavier Perseguers
Actions #11

Updated by Steffen Gebert almost 13 years ago

  • Target version set to 4.5.4
Actions #12

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF