[TYPO3-core] RFC: #0013591: Full search causes error if TCA has tables without any columns

Fabrizio Branca news at _REMOVETHIS_fabrizio-branca.de
Fri Feb 19 18:24:15 CET 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=13591

Branches:
trunk

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

Bye,

Fabrizio
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13591.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100219/866898a3/attachment.txt>


More information about the TYPO3-team-core mailing list