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

Christian Kuhn lolli at schwarzbu.ch
Fri Feb 26 15:31:06 CET 2010


Hey,

Fabrizio Branca wrote:
> 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

+1 on reading and testing, Benni took care of the commit already.

Regards
Christian


More information about the TYPO3-team-core mailing list