Bug #34987
wrong sql where in chooseBestIndex
| Status: | Resolved | Start date: | 2012-03-18 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Stefan Froemken | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
hi
I am gettting wrong mysql where in function chooseBestIndex.
The problem is probably missing "1=1" in where.
After applying the patch there is no sql errors.
History
Updated by Krystian Szymukowicz about 1 year ago
I forgot to add that this bug is in forge version of the ext and the patch is against forge.
Updated by Christian Buelter about 1 year ago
- Status changed from New to Needs Feedback
By reading your patch makes sense.
But I wonder why we don't have errors in our installations of ke_search.
Could you provide a test case?
Updated by Krystian Szymukowicz about 1 year ago
I'am getting this error when using checkboxes.
The query builded is:
SELECT COUNT FROM tx_kesearch_index WHERE AND MATCH (tags) AGAINST (' \"#2012#\"' IN BOOLEAN MODE)
Updated by Christian Buelter about 1 year ago
I still can't reproduce the error.
Do you have other filters than the checkbox filter in use?
Do you use it AJAX or static mode?
Updated by Krystian Szymukowicz about 1 year ago
- File ke_search__1.png added
- File ke_search__2.png added
I use static and there is only one filter.
In the attachment the options.
Updated by www.kennziffer.com GmbH about 1 year ago
Hmm, I still cannot reproduce it. On my test environment with a default installation of ke_search I don't get any errors, even with only one filter configured (checkbox filter).
I saw that you are using a custom template. Does the error still appear with the default template?
Did you try the current trunk version? We made some changes during the last days in preparation of version 1.0 which has been released today.
Updated by Krystian Szymukowicz about 1 year ago
I installed 1.0 from TER and still have this error.
Updated by Stefan Froemken 12 months ago
- Status changed from Needs Feedback to Resolved
- Assignee set to Stefan Froemken
- % Done changed from 0 to 100
I have solved this issue just 2 weeks ago, so with current version in SVN it should be fixed.
Stefan