View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
13278Bug reportsRemoteControlpublic2018-02-06 15:04
ReporterAgostinoGiglio Assigned Toollehar  
PrioritynoneSeveritypartial_block 
Status closedResolutionwon't fix 
Summary13278: Survey questions sorting
Description

Hi,
I'm using the LimeSurvey RemoteControl API for a work project,
and I'm facing a problem with the survey questions sorting.

I am able to create a survey, containing a group of questions.
The problem is that the "question_order" property I set for each question
seems to be ignored by LimeSurvey, during the question creation itself.

I would say that LimeSurvey override the "question_order" information,
in fact I get a different question order.

For example, using my software
I tried to create 4 questions, sorting each of them with the following
"question_order" property value:​

[see the attachment called "desidered_sorting.png"]

but what I get on LimeSurvey is a totally different sorting
(you can see the new "question_order" value into the red rectangle)

[see the attachment called "wrong_sorting.png"]

I don't understand where I'm wrong:
can you help me to solve the problem, please?

Thank you so much,
Best Regards,
Agostino Giglio​

TagsNo tags attached.
Attached Files
desidered_sorting.png (4,786 bytes)   
desidered_sorting.png (4,786 bytes)   
wrong_sorting.png (87,519 bytes)   
wrong_sorting.png (87,519 bytes)   
Bug heat8
Complete LimeSurvey version number (& build)Version 2.67.3+170728
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySql
Server OS (if known)Linux
Webserver software & version (if known)Apache
PHP Version7

Users monitoring this issue

AgostinoGiglio

Activities

ollehar

ollehar

2018-02-02 16:26

administrator   ~46222

Can't you just sort them with whatever programming language you are fetching them with?

We don't fix more bugs for 2.7x. Please update to 3.1.

AgostinoGiglio

AgostinoGiglio

2018-02-05 11:14

reporter   ~46249

Hello,
we create the questions, yet ordered, from our software,
and we send them on LimeSurvey via api,
but they arrive unordered on LimeSurvey.
We think that should be a problem on RemoteControl api,
could you please confirm that?

Thank you,
Agostino

Deusdeorum

Deusdeorum

2018-02-05 11:55

reporter   ~46253

What API method/s are you using?

AgostinoGiglio

AgostinoGiglio

2018-02-05 12:08

reporter   ~46254

it's the "set_question_properties" method

Deusdeorum

Deusdeorum

2018-02-06 14:24

reporter   ~46279

I am getting the exact same result. But, this is limited to the first question of the group. If you keep the first question at order 0 you can move the rest...?

Deusdeorum

Deusdeorum

2018-02-06 15:04

reporter   ~46282

Or well.. you call each ordering in different requests? When you change order of one question, you will also change the order of all the other questions right.

Issue History

Date Modified Username Field Change
2018-01-31 17:50 AgostinoGiglio New Issue
2018-01-31 17:50 AgostinoGiglio File Added: desidered_sorting.png
2018-01-31 17:50 AgostinoGiglio File Added: wrong_sorting.png
2018-02-01 11:08 AgostinoGiglio Issue Monitored: AgostinoGiglio
2018-02-02 16:26 ollehar Note Added: 46222
2018-02-02 16:26 ollehar Assigned To => ollehar
2018-02-02 16:26 ollehar Status new => closed
2018-02-02 16:26 ollehar Resolution open => won't fix
2018-02-05 11:14 AgostinoGiglio Note Added: 46249
2018-02-05 11:55 Deusdeorum Note Added: 46253
2018-02-05 12:08 AgostinoGiglio Note Added: 46254
2018-02-06 14:24 Deusdeorum Note Added: 46279
2018-02-06 15:04 Deusdeorum Note Added: 46282