View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
05128Bug reportsResponse browsingpublic2011-05-15 12:26
Reportermedicnick Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.91RC6 
Fixed in Version1.91+ 
Summary05128: Survey timings table is empty and mssql error
Description

The survey timings table is now being created for MSSQL when a new survey is created but the table is empty although the survey response table has two entries.

Also, browse.php between line 1031 and 1041 has two scripts calling for a NATURAL JOIN". In MSSQL a natural join is not allowed so I think an inner join should be used.

The first point may not have anything to do with the second point but I discovered them at the same time. With an empty timings table there is nothing to return so I can't verify if the second point is handled properly.

If you prefer a separate report please let me know.

Steps To Reproduce

Clicked on view survey statistics which resulted in the following error message: "Couldn't get response data
SELECT count(*) FROM [my_survey_35569_timings] NATURAL JOIN [my_survey_35569] WHERE submitdate IS NOT NULL
[Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'WHERE'."

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)10018
I will donate to the project if issue is resolvedNo
BrowserFF4
Database type & versionMSSQL R2
Server OS (if known)WIN 2008
Webserver software & version (if known)IIS7.5
PHP Version5.2.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2011-05-06 17:23

administrator   ~14939

Fixed in rev 10036

Issue History

Date Modified Username Field Change
2011-04-26 04:35 medicnick New Issue
2011-04-28 14:44 c_schmitz Assigned To => c_schmitz
2011-04-28 14:44 c_schmitz Status new => assigned
2011-05-06 17:23 c_schmitz Note Added: 14939
2011-05-06 17:23 c_schmitz Status assigned => resolved
2011-05-06 17:23 c_schmitz Fixed in Version => 1.91+
2011-05-06 17:23 c_schmitz Resolution open => fixed
2011-05-15 12:26 c_schmitz Status resolved => closed