View Issue Details

IDProjectCategoryView StatusLast Update
16025Bug reports[All Projects] Survey takingpublic2020-03-24 10:31
ReporterDenisChenu Assigned Tocdorin  
PrioritynoneSeverityminor 
Status assignedResolutionopen 
Product Version4.1.12 
Target VersionFixed in Version 
Summary16025: Broken survey after language changer on home page
Description

When change language : there are way wher $_SESSION of extra language can not be set.

Steps To Reproduce

With debug set.

  1. Import https://github.com/LimeSurvey/LimeSurvey/blob/master/docs/demosurveys/ls3_sample_survey_multilingual_fr_de_en_it.lss
  2. Launch survey in English (primary language)
  3. Change language : see the error

If you add newtest = Y : it seems to work after with all language. But then we loose prefill by URL

Without debug :

  1. Launch survey
  2. language FR : seems OK
  3. Move next : nothing happen
  4. Move next : throw : 'This response already submitted'
Additional Information

Seems since the language system updater (i didn't control with previous version )

TagsNo tags attached.
Complete LimeSurvey version number (& build)4.1.120github
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database & DB-Versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Activities

DenisChenu

DenisChenu

2020-03-24 10:18

developer  

PHP notice.html (18,880 bytes)
DenisChenu

DenisChenu

2020-03-24 10:24

developer  

Peek debug0.gif (553,495 bytes)
Peek debug2.gif (534,167 bytes)
DenisChenu

DenisChenu

2020-03-24 10:28

developer   ~56744

Same issue with https://github.com/LimeSurvey/LimeSurvey/commit/4f948560635dbbecdd5755628430a653218d0637

Then : not related to your fix ....

DenisChenu

DenisChenu

2020-03-24 10:30

developer   ~56745

https://github.com/LimeSurvey/LimeSurvey/commit/7c04afd2ebe2dca98f89e036d180afcc3c3bb387 : same issue ...

The a 4.0.0 issue .....

DenisChenu

DenisChenu

2020-03-24 10:31

developer   ~56746

Assigned to @cdorin : urgent issue .....

Issue History

Date Modified Username Field Change
2020-03-24 10:18 DenisChenu New Issue
2020-03-24 10:18 DenisChenu Status new => assigned
2020-03-24 10:18 DenisChenu Assigned To => p_teichmann
2020-03-24 10:18 DenisChenu File Added: PHP notice.html
2020-03-24 10:18 DenisChenu File Added: Capture d’écran du 2020-03-24 10-16-24.png
2020-03-24 10:24 DenisChenu Summary Potential PHP Notice with debug = 2 => Broken survey after language changer on home page
2020-03-24 10:24 DenisChenu File Added: Peek debug0.gif
2020-03-24 10:24 DenisChenu File Added: Peek debug2.gif
2020-03-24 10:28 DenisChenu Assigned To p_teichmann =>
2020-03-24 10:28 DenisChenu Status assigned => new
2020-03-24 10:28 DenisChenu Note Added: 56744
2020-03-24 10:30 DenisChenu Note Added: 56745
2020-03-24 10:30 DenisChenu Assigned To => cdorin
2020-03-24 10:30 DenisChenu Status new => assigned
2020-03-24 10:31 DenisChenu Note Added: 56746