[TYPO3-core] RFC: #0013591: Full search causes error if TCA has tables without any columns
Steffen Ritter
info at rs-websystems.de
Fri Feb 26 15:19:57 CET 2010
Fabrizio Branca schrieb:
> 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
>
+1 reading and testing
More information about the TYPO3-team-core
mailing list