Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
14116Bug reportsOtherpublic2019-05-16 17:44
Reporterrbaier Assigned Todominikvitt 
Status closedResolutionunable to reproduce 
Summary14116: Random group order not working

Though an entry was made in "Randomization group", the groups are always shown in normal order.

Steps To Reproduce

I imported a test survey into the demo server (Test random group order (ID 395424)).
There, even more functions don't work with this survey:

  • "Preview survey" --> 500 Internal Server Error
  • "Theme options" --> the screen fades in slightly and the windows waitcursor appears, but nothing happens afterwards
  • "Export Survey structure (.lss)" --> File not found message on screen

Then again, "Generate" tokens" is working for this survey on the demo server, which is not the case in our own LS.

TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 3.14.11+180926
I will donate to the project if issue is resolvedNo
BrowserFirefox 62.0.2
Database & DB-VersionMySQL 5.5.59-0ubuntu0.14.04.1-log
Server OS (if known)SUSE Linux Enterprise Server 12 SP3
Webserver software & version (if known)Apache/2.4.23 (Linux/SUSE)
PHP VersionPHP/7.0.7


related to 14197 assignedollehar Randomization of groups not working 




2018-10-04 16:35

developer   ~49242

Please upload survey lss file and screenshots of errors you listed .



2018-10-05 11:24

reporter   ~49247

Don't see any error messages.
The test-survey I have uploaded here has 2 question groups. They always appear in the order: group 1 , group 2. Never in random order as desired.

Please forget the above-mentioned remark about "Generate tokens". This issue has been solved.



2018-10-05 11:47

developer   ~49249

Demo server may not use the latest version or it may be configured differently.
I can confirm that it doesn't randomize groups there.

The best way to test is to create an application on
I just tested there and it works as expected.
Also, your other issues may be solved there.



2018-10-05 14:48

reporter   ~49256

So we will have to wait until the "randomize groups" issue is solved by a new LimeSurvey version. Or mull over a workaround with some javascript.



2018-10-09 15:30

reporter   ~49282

LimeSurvey Version 3.15.0+181008 does not randomize groups either. (And it does not randomize questions in groups, but that would be another bug report).



2018-11-13 12:09

reporter   ~49624

Seems to be related to Bug 14197.
There, the reporter has found out that commenting out line 851 of em_manager_helper.php (<LS_HOME>/application/helpers/expressions/em_manager_helper.php) fixes this, groups are randomized once again.
The line to be commented out is:

I can confirm that this fixes the "random group order" bug (this bug, id 14116).
Furthermore, it fixes the "random questions within a group" bug (id 14197).



2019-05-16 17:01

partner   ~51970

What is the status of this bugticket? Can it be closed?



2019-05-16 17:43

developer   ~51972

Group randomization is working as expected, so I'm closing this issue.

Issue History

Date Modified Username Field Change
2018-10-01 11:57 rbaier New Issue
2018-10-04 16:23 dominikvitt Assigned To => dominikvitt
2018-10-04 16:23 dominikvitt Status new => assigned
2018-10-04 16:35 dominikvitt Status assigned => feedback
2018-10-04 16:35 dominikvitt Note Added: 49242
2018-10-05 11:24 rbaier File Added: limesurvey_survey_395424.lss
2018-10-05 11:24 rbaier Note Added: 49247
2018-10-05 11:24 rbaier Status feedback => assigned
2018-10-05 11:47 dominikvitt Note Added: 49249
2018-10-05 14:48 rbaier Note Added: 49256
2018-10-09 15:30 rbaier Note Added: 49282
2018-11-13 12:09 rbaier Note Added: 49624
2018-11-14 00:54 jelo Relationship added related to 14197
2019-05-16 17:01 jelo Note Added: 51970
2019-05-16 17:43 dominikvitt Status assigned => resolved
2019-05-16 17:43 dominikvitt Resolution open => unable to reproduce
2019-05-16 17:43 dominikvitt Note Added: 51972
2019-05-16 17:44 dominikvitt Status resolved => closed