[TYPO3-core] RFC #17032: Backend search throws Exceptions / SQL errors when running as non-admin
Ernesto Baschny [cron IT]
ernst at cron-it.de
Fri Jan 14 15:09:13 CET 2011
Hi,
This is a SVN patch request.
Type: Feature
BT reference: http://bugs.typo3.org/view.php?id=17032
Branches: trunk
Problem:
When a non-admin tries the BE live search, SQL errors are thrown (and
you see them in the debug console if this is active). Only happens for
non-admin users.
Solution:
Check if there are fields left to search (after runing through exclude
fields etc) and don't run a query if there are no fields left to search in.
How to test:
Login as a non-admin. Search something.
Cheers,
Ernesto
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17032.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110114/eaebc6f1/attachment.txt>
More information about the TYPO3-team-core
mailing list