View Issue Details

This bug affects 1 person(s).
 14
IDProjectCategoryView StatusLast Update
05238Bug reportsStatisticspublic2011-06-08 14:14
Reporteruser14338Assigned Toc_schmitz  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.91+ 
Fixed in Version1.91+ 
Summary05238: Statistics Filters
Description

When attempting to filter survey by results with text fields, I always come up with no data found. When searching for other fields and data does come up, trying to browse it gives me an SQL syntax error.

"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IN ('N') ORDER BY lime_survey_95846.id LIMIT 0,9' at line 1:SELECT * FROM lime_survey_95846 95846X2X12 IN ('N') ORDER BY lime_survey_95846.id"

And

"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(95846X2X10SQ009 = 'Y') AND 95846X2X12 IN ('N') ORDER BY lime_survey_95846' at line 1:SELECT * FROMlime_survey_95846(95846X2X10SQ009= 'Y') AND95846X2X12IN ('N') ORDER BYlime_survey_95846`.id"

For example. I simply cannot "Browse" the results. And sometimes results won't come up at all.

Additional Information

I've attached my SQL data.

TagsNo tags attached.
Bug heat14
Complete LimeSurvey version number (& build)10168
I will donate to the project if issue is resolvedYes
Browser
Database type & version5.0.92-community
Server OS (if known)Unknown
Webserver software & version (if known)cPanel 11.28.87-RELEASE_51188
PHP Version5.2.13

Relationships

has duplicate 05237 closedc_schmitz Bad MYSQL format request : When browsing statistics, request filter statistic browsing of responses fail 

Users monitoring this issue

alicec

Activities

alicec

alicec

2011-06-05 17:43

reporter   ~15298

I have the same problem.

c_schmitz

c_schmitz

2011-06-06 17:03

administrator   ~15330

I can reproduce the browse issue and it will be fixed in rev. 10209.

I cannot reproduce the filter text issue. What exactly are you entering in which field/question in statistics?

user14338

2011-06-06 17:04

  ~15331

For example:

I will be searching the name of the Audit agent, and will come up with 0 results. Anything that requires an input field (and not a selection of Yes/No or pre-defined answers) will come up with nothing.

c_schmitz

c_schmitz

2011-06-06 17:24

administrator   ~15333

You will need to search with the full name or use the percent sign (%) as wildcard.

See documentation:
You can search the responses to a free text question type (and similar types) by entering a text. If you want to search for a partial string you can use the percentage sign (%) as wildcard. Example: If you look for 'Tom%' it will find entries with 'Tomb' and 'Tommy', etc.

c_schmitz

c_schmitz

2011-06-08 14:14

administrator   ~15380

New version released.

Issue History

Date Modified Username Field Change
2011-06-03 17:51 user14338 New Issue
2011-06-03 17:51 user14338 File Added: gotphq_lime1.sql
2011-06-03 17:51 user14338 Issue Monitored: user14338
2011-06-03 17:52 user14338 File Added: limesurvey_survey_95846.lss
2011-06-05 15:38 alicec Issue Monitored: alicec
2011-06-05 17:43 alicec Note Added: 15298
2011-06-05 22:35 c_schmitz Assigned To => c_schmitz
2011-06-05 22:35 c_schmitz Status new => assigned
2011-06-06 17:03 c_schmitz Note Added: 15330
2011-06-06 17:03 c_schmitz Status assigned => feedback
2011-06-06 17:04 user14338 Note Added: 15331
2011-06-06 17:04 user14338 Status feedback => assigned
2011-06-06 17:24 c_schmitz Note Added: 15333
2011-06-06 17:25 c_schmitz File Deleted: gotphq_lime1.sql
2011-06-06 17:25 c_schmitz File Deleted: limesurvey_survey_95846.lss
2011-06-06 17:25 c_schmitz Status assigned => resolved
2011-06-06 17:25 c_schmitz Fixed in Version => 1.91+
2011-06-06 17:25 c_schmitz Resolution open => fixed
2011-06-06 17:26 c_schmitz Relationship added has duplicate 05237
2011-06-08 14:14 c_schmitz Note Added: 15380
2011-06-08 14:14 c_schmitz Status resolved => closed
2021-08-03 10:01 guest Bug heat 12 => 14