View Issue Details

IDProjectCategoryView StatusLast Update
14227Bug reports[All Projects] Survey takingpublic2019-04-30 09:12
ReporterDenisChenu Assigned ToDenisChenu  
Status closedResolutionfixed 
Product Version3.15.x 
Target VersionFixed in Version3.15.x 
Summary14227: Some token with existing reponse can send PHP Warning about seed

With token + Enable token-based response persistence + Allow multiple responses or update responses with one token: : some response can have empty seed (VV import, old survey etc …).
Get access to this token send warning with debug = 2

Steps To Reproduce

Set debug = 2
Import included LSA
See token, launch the 1st one (TEST)

Additional Information

Maybe :
1: function randomizationGroupsAndQuestions can return quick if there are no randomization
2: If there are randomization : unsure on te way to fix : create a new seed (fix the response if seed didn't exist).

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.15.1 github
I will donate to the project if issue is resolvedNo
Database & DB-Versionmariadb
Server OS (if known)fedora/linux
Webserver software & version (if known)nginx
PHP Versionphp7.2




2018-11-07 11:09


PHP warning.html (21,392 bytes)
survey_archive_298838.lsa (5,414 bytes)


2018-11-08 14:59

developer   ~49582

Fix committed to master branch:



2019-04-30 09:12

administrator   ~51660

Fixed in Version

Related Changesets

LimeSurvey: master 665baeb9

2018-11-08 14:59:49


Committer: GitHub Details Diff
Fixed issue 14227: Some token with existing reponse can send PHP Warning about seed

Dev: set a seed if empty
Affected Issues
mod - application/libraries/MersenneTwister.php Diff File

Issue History

Date Modified Username Field Change
2018-11-07 11:09 DenisChenu New Issue
2018-11-07 11:09 DenisChenu Status new => assigned
2018-11-07 11:09 DenisChenu Assigned To => ollehar
2018-11-07 11:09 DenisChenu File Added: PHP warning.html
2018-11-07 11:09 DenisChenu File Added: survey_archive_298838.lsa
2018-11-07 11:09 DenisChenu Summary Some token with existing reponse can send PHP Warning aboot seed => Some token with existing reponse can send PHP Warning about seed
2018-11-07 11:09 DenisChenu Additional Information Updated View Revisions
2018-11-08 14:59 DenisChenu Changeset attached => LimeSurvey master 665baeb9
2018-11-08 14:59 DenisChenu Note Added: 49582
2018-11-08 14:59 DenisChenu Assigned To ollehar => DenisChenu
2018-11-08 14:59 DenisChenu Resolution open => fixed
2018-11-08 15:00 DenisChenu Status assigned => resolved
2018-11-08 15:00 DenisChenu Fixed in Version => 3.15.x
2019-04-30 09:12 c_schmitz Note Added: 51660
2019-04-30 09:12 c_schmitz Status resolved => closed