View Issue Details

IDProjectCategoryView StatusLast Update
14227Bug reports[All Projects] Survey takingpublic2018-11-08 15:00
ReporterDenisChenuAssigned ToDenisChenu 
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Product Version3.15.x 
Target VersionFixed in Version3.15.x 
Summary14227: Some token with existing reponse can send PHP Warning about seed
Description

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
Browserff
Database & DB-Versionmariadb
Operating System (Server)fedora/linux
Webserver software & versionnginx
PHP Versionphp7.2

Activities

DenisChenu

DenisChenu

2018-11-07 11:09

developer  

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

DenisChenu

2018-11-08 14:59

developer   ~49582

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=28489

Related Changesets

LimeSurvey: master 665baeb9

2018-11-08 14:59:49

DenisChenu


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

Dev: set a seed if empty
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