Project

General

Profile

Actions

Bug #22146

closed

Full search causes error if TCA has tables without any columns

Added by Fabrizio Branca about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-02-19
Due date:
% Done:

0%

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

Description

Problem:
If a table is defined in TCA without any columns (which is the case in rsaauth) the full search creates a wrong query which causes an error.
Wrong query:
SELECT COUNT FROM tx_rsaauth_keys WHERE (tx_rsaauth_keys. LIKE '%searchword%')

Solution:
Skip tables that have empty column arrays

(issue imported from #M13591)


Files

13591.patch (486 Bytes) 13591.patch Administrator Admin, 2010-02-19 18:22

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #22077: Full search issues invalid db query if TCA has tables without configured columnsClosedBenni Mack2010-02-08

Actions
Actions #1

Updated by Benni Mack about 14 years ago

committed to trunk (rev. 7048)
committed to TYPO3_4-3 (rev. 7049)

Actions

Also available in: Atom PDF