View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
09797Bug reportsRemoteControlpublic2015-07-30 13:22
Reporterlacd Assigned Toc_schmitz  
PriorityhighSeveritytweak 
Status closedResolutionno change required 
Product Version2.05+ 
Summary09797: list_question returns questions in different order for imported surveys
Description

Whenever I import an existing survey in LS, the order of question changes. When I use preview survey option on web-aaplication, the questions are in correct order; however when I use RemoteControl API list_questions the order is changed. I queried lime_questions table and found that the questions are inserted in wrong order in DB and this is the order in which questions are returned.

Steps To Reproduce
  1. Import a survey using .lss file.
  2. Publish the survey
  3. Use RemoteControl API list_questions to fetch the questions.
    Observe that the order in which the questions are listed is changed from the original survey.
Additional Information

Every time I import the survey the order in which questions are listed changes. The original order of questions can be obtained if you import the survey 4-5 times.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)141020
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmysql 5.5.40
Server OS (if known)Ubuntu
Webserver software & version (if known)Apache 2.4.10
PHP VersionPHP 5.5.9
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2015-07-30 13:22

administrator   ~32839

You can find the sort order in the question info. There is no guarantee that the question will be ordered in the way they are shown in the survey so this is not a bug.

Issue History

Date Modified Username Field Change
2015-07-29 11:14 lacd New Issue
2015-07-30 13:22 c_schmitz Note Added: 32839
2015-07-30 13:22 c_schmitz Status new => closed
2015-07-30 13:22 c_schmitz Assigned To => c_schmitz
2015-07-30 13:22 c_schmitz Resolution open => no change required