View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 06932 | Bug reports | Statistics | public | 2012-11-22 15:37 | 2012-11-28 13:20 |
| Reporter | pfpDave | Assigned To | c_schmitz | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.00+ | ||||
| Fixed in Version | 2.00+ | ||||
| Summary | 06932: Clicking browse on text entries returns no results in statistics screen (with fix) | ||||
| Description | When viewing statistics witha text entries, clicking the browse button to see these returns nothing. The error is found in \application\controllers\admin\statistics.php and is on line 497. To resolve replace:
with | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 121115 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | IE8 | ||||
| Database type & version | SQL Express 2012 | ||||
| Server OS (if known) | Server 2008 | ||||
| Webserver software & version (if known) | IIS 7 | ||||
| PHP Version | 5.4.8 | ||||
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10480 |
|
|
Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10485 |
|
|
Not had time to properly diagnose what's going on yet but this fix doesn't work for me. When implemented in build 121115 (note my fix posted works fine), I get: <h1>CDbException</h1> CDbCommand failed to execute the SQL statement: SQLSTATE[42000]: [Microsoft][SQL Server Native Client 11.0][SQL Server]The data types text and varchar are incompatible in the not equal to operator.. The SQL statement executed was: SELECT * FROM [dbo].[survey_997138] [t] WHERE [997138X21X395] != '' (C:\limesurvey\framework\db\CDbCommand.php:528) #0 C:\limesurvey\framework\db\CDbCommand.php(390): CDbCommand->queryInternal('fetchAll', Array, Array)
When implemented in build 121121, I get (this seems to relate to the new lines of code at 498 - 501: <h1>PHP Error [2]</h1> Invalid argument supplied for foreach() (C:\limesurvey_test\application\controllers\admin\statistics.php:499) #0 C:\limesurvey_test\application\controllers\admin\statistics.php(499): LSYii_Application->handleError() |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10494 |
|
|
That fix seems to work for me in build 121121, many thanks |
|
|
New 2.00+ build released. |
|
|
Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10519 |
|
|
LimeSurvey: master 7f41c5d1 2012-11-25 22:00 Details Diff |
Fixed issue 06932: Clicking browse on text entries returns no results in statistics screen in MSSQL |
Affected Issues 06932 |
|
| mod - application/controllers/admin/statistics.php | Diff File | ||
|
LimeSurvey: 2.1 5b32ef81 2012-11-25 22:24 Details Diff |
Fixed issue 06932: Clicking browse on text entries returns no results in statistics screen in MSSQL |
Affected Issues 06932 |
|
| mod - application/controllers/admin/statistics.php | Diff File | ||
|
LimeSurvey: master 87836a6d 2012-11-26 13:43 Details Diff |
Fixed issue 06932: Clicking browse on text entries returns no results in statistics screen in MSSQL |
Affected Issues 06932 |
|
| mod - application/controllers/admin/statistics.php | Diff File | ||
|
LimeSurvey: 2.1 656d7d49 2012-11-26 13:43 Details Diff |
Fixed issue 06932: Clicking browse on text entries returns no results in statistics screen in MSSQL |
Affected Issues 06932 |
|
| mod - application/controllers/admin/statistics.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-11-22 15:37 | pfpDave | New Issue | |
| 2012-11-25 22:00 | c_schmitz | Assigned To | => c_schmitz |
| 2012-11-25 22:00 | c_schmitz | Status | new => assigned |
| 2012-11-25 22:00 | c_schmitz | Changeset attached | => LimeSurvey master 7f41c5d1 |
| 2012-11-25 22:00 | c_schmitz | Note Added: 22494 | |
| 2012-11-25 22:00 | c_schmitz | Resolution | open => fixed |
| 2012-11-25 22:01 | c_schmitz | Status | assigned => resolved |
| 2012-11-25 22:01 | c_schmitz | Fixed in Version | => 2.00+ |
| 2012-11-25 22:24 | c_schmitz | Changeset attached | => LimeSurvey 2.1 5b32ef81 |
| 2012-11-25 22:24 | c_schmitz | Note Added: 22500 | |
| 2012-11-26 12:27 | pfpDave | Note Added: 22538 | |
| 2012-11-26 13:43 | c_schmitz | Changeset attached | => LimeSurvey master 87836a6d |
| 2012-11-26 13:43 | c_schmitz | Note Added: 22539 | |
| 2012-11-26 13:49 | pfpDave | Note Added: 22540 | |
| 2012-11-27 06:11 | c_schmitz | Note Added: 22567 | |
| 2012-11-27 06:11 | c_schmitz | Status | resolved => closed |
| 2012-11-28 13:20 | c_schmitz | Changeset attached | => LimeSurvey 2.1 656d7d49 |
| 2012-11-28 13:20 | c_schmitz | Note Added: 22619 |