View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
07041Bug reportsRemoteControlpublic2012-12-11 14:51
Reporterdrjaking Assigned Totrougakoss  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Summary07041: export_responses crashes if survey has no completed responses
Description

Using the export_responses function in remote control 2, if the survey has no data, the json client throws an exception:

Fatal error: Uncaught exception 'Exception' with message 'Request error: unknown method or incorrect parameters' in /home/www/jsonRPCClient.php:155

If the survey is visited once and responses submitted, the problem does not occur.

Steps To Reproduce

Make a survey, generate tokens, invite someone

Try to use RC2 export_responses

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)121127
I will donate to the project if issue is resolvedNo
BrowserIron 21
Database type & versionMySQL 5.5.24
Server OS (if known)Ubuntu
Webserver software & version (if known)Apache 2.2.22
PHP Version5.3.10-1ubuntu3.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-12-07 08:56

administrator   ~22995

Spiros, can you take on this one, mabye?

user20342

2012-12-07 09:00

  ~22996

Of course Carsten.

trougakoss

trougakoss

2012-12-11 14:35

reporter   ~23121

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10869

c_schmitz

c_schmitz

2012-12-11 14:48

administrator   ~23122

2.00 Build 121211 released

trougakoss

trougakoss

2012-12-11 14:51

reporter   ~23134

Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10873

Related Changesets

LimeSurvey: master ed73d7b3

2012-12-07 14:59:50

trougakoss

Details Diff
Fix issue 07041: export_responses crashes if survey has no completed responses
Dev: If table survey_{SurveyID} does not exist or is empty, error message is returned
Affected Issues
07041
mod - application/controllers/admin/remotecontrol.php Diff File

LimeSurvey: 2.1 4695376e

2012-12-07 14:59:50

trougakoss

Details Diff
Fix issue 07041: export_responses crashes if survey has no completed responses
Dev: If table survey_{SurveyID} does not exist or is empty, error message is returned
Affected Issues
07041
mod - application/controllers/admin/remotecontrol.php Diff File

Issue History

Date Modified Username Field Change
2012-12-06 16:12 drjaking New Issue
2012-12-07 08:55 c_schmitz Assigned To => trougakoss
2012-12-07 08:55 c_schmitz Status new => assigned
2012-12-07 08:56 c_schmitz Note Added: 22995
2012-12-07 09:00 user20342 Note Added: 22996
2012-12-11 14:35 trougakoss Changeset attached => LimeSurvey master ed73d7b3
2012-12-11 14:35 trougakoss Note Added: 23121
2012-12-11 14:35 trougakoss Resolution open => fixed
2012-12-11 14:48 c_schmitz Note Added: 23122
2012-12-11 14:48 c_schmitz Status assigned => closed
2012-12-11 14:51 trougakoss Changeset attached => LimeSurvey 2.1 4695376e
2012-12-11 14:51 trougakoss Note Added: 23134