View Issue Details

IDProjectCategoryView StatusLast Update
14965Bug reports[All Projects] Survey participants (Tokens)public2019-09-20 16:13
Reporterblocka Assigned Toollehar  
Status assignedResolutionopen 
Product Version3.17.x 
Target VersionFixed in Version 
Summary14965: Group randomization issue

I have a survey that has a set of question groups in the same randomization group.

Token persistence is enabled, and when a participant clicks on their email invitation and starts the survey, no problems of course.

But, if the participant doesn't complete the survey, and then returns at a later time, the survey loads with a blank question group.

As per the forum post:

Group randomization (at the group level) has always worked with no tokens for me. Its just when you mix in response persistence, a new session and a partially answered survey where they stopped in the middle of the randomized groups. It re-randomized the groups putting an unanswered mandatory question before the last question answered, then tried to send you back to the last question answered which resulted in the a group loading with error classes and hidden questions, unable to proceed forwards.

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.17.4 Build 190529
I will donate to the project if issue is resolvedNo
Database & DB-Version359
Server OS (if known)
Webserver software & version (if known)
PHP Version7.2




2019-06-06 09:07

developer   ~52313

@ollehar : related to SEED ?



2019-06-06 10:14

administrator   ~52314

Will have a look today.



2019-06-06 10:50


limesurvey_survey_959263.lss (23,595 bytes)


2019-06-06 11:04

administrator   ~52316

I need clearer instructions on how to reproduce. This is what I did:

  1. Import the attached survey
  2. Activate it
  3. Create token table with participant
  4. Run survey with token (from the admin interface)
  5. Write answers, close tab in middle of randomized group
  6. Run survey again (tried both with and without newtest=Y in URL)

Can't see any different in group randomization. Also tried with clicking "Resume later".



2019-06-06 11:04

administrator   ~52317

Using 3.17.5+190604.



2019-07-11 00:39

reporter   ~52821

I was just able to replicate on the first attempt on the site which looks to be running Version 3.17.3. This issue has existed for as long as I can remember and no one seems to know about it so I think we can safely assume it still exists in 3.17.5.

  1. Token based response persistence must be on.
  2. Enter test survey without newtest=Y in url in a private window. Populate survey until halfway through randomized groups.
  3. Re-enter the survey with the same token in a new private window.

See attached screenshot for what you will see when experiencing the bug.

If you don't see it on the first time, just immediately close the window and re-enter in a new private window. Sooner or later you will see it.

Now chances are, no one will be entering the survey like above. But its no different than starting a survey on your phone then completing on your desktop later. Its just the easiest way to replicate.

groupRandBug.JPG (71,295 bytes)
groupRandBug.JPG (71,295 bytes)


2019-07-11 07:46

developer   ~52823

@Bigred01 : you can use demo for checking, but it reset all night.
We have a 404: Not Found not foun n,ow for this survey.

Can you send the related lss please ?



2019-07-11 07:54

reporter   ~52824

I used the one posted above by ollehar. I believe it’s the original one I posted to the forums 10 months ago.



2019-07-11 08:04

developer   ~52825

OK :) Great :)

Issue History

Date Modified Username Field Change
2019-06-05 20:22 blocka New Issue
2019-06-06 09:07 DenisChenu Note Added: 52313
2019-06-06 10:14 ollehar Note Added: 52314
2019-06-06 10:14 ollehar Assigned To => ollehar
2019-06-06 10:14 ollehar Status new => assigned
2019-06-06 10:50 ollehar File Added: limesurvey_survey_959263.lss
2019-06-06 11:04 ollehar Status assigned => feedback
2019-06-06 11:04 ollehar Note Added: 52316
2019-06-06 11:04 ollehar Note Added: 52317
2019-07-11 00:39 Bigred01 File Added: groupRandBug.JPG
2019-07-11 00:39 Bigred01 File Added: groupRandBugQuestionClasses.JPG
2019-07-11 00:39 Bigred01 Note Added: 52821
2019-07-11 07:46 DenisChenu Note Added: 52823
2019-07-11 07:54 Bigred01 Note Added: 52824
2019-07-11 08:04 DenisChenu Note Added: 52825
2019-07-11 10:29 ollehar Status feedback => assigned