View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
09566Bug reportsSurvey takingpublic2015-06-18 14:50
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Fixed in Version2.06+ 
Summary09566: Some string are not from survey language firts time
Description

With survey in one page, admin language to FR, survey language to RU : some string are in FR first time, after in RU.

Steps To Reproduce

Import lss from http://bugs.limesurvey.org/view.php?id=9563
Set your language to another string (without go to EM ?)
Launch survey without language (or with language : newtest=Y?lang=ru : same)

Additional Information

Website default language : FR
Admin language : EN
Survey language : RU

Show EN string

Not very important, but surely/maybe hide other bug.

TagsNo tags attached.
Attached Files
After_Activation.png (55,132 bytes)   
After_Activation.png (55,132 bytes)   
Bug heat10
Complete LimeSurvey version number (& build)150317
I will donate to the project if issue is resolvedNo
BrowserFF
Database type & versionMysql 5
Server OS (if known)debian/linux
Webserver software & version (if known)apache
PHP VersionPHP Version 5.4.4

Relationships

has duplicate 09564 closedc_schmitz Expression manager logic file take survey language for admin string 
related to 09621 closedDenisChenu Public list can be in "not allowed" language 
related to 09695 closedDenisChenu Language are not set correctly on survey taking 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-03-17 10:55

developer   ~31840

PS: Not on privacy still in admin language (Note on privacy exist in Russian)

c_schmitz

c_schmitz

2015-04-29 16:48

administrator   ~32074

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

DenisChenu

DenisChenu

2015-04-30 19:36

developer   ~32083

Last edited: 2015-05-05 17:10

Still same issue with attached survey : even not connected to admin

See http://206.sondages.pro/index.php/847984?newtest=Y&lang=ru

09564 is fixed

createFieldMap is called 4 times 8-[

After activation : admin page are partially in russian : After_Activation.png

For information : ru is in allowed language .

c_schmitz

c_schmitz

2015-05-06 09:12

administrator   ~32089

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

c_schmitz

c_schmitz

2015-05-06 09:12

administrator   ~32090

Denis, can you let me know if it is resolved now? I cannot reproduce the issue on survey start.

DenisChenu

DenisChenu

2015-05-06 10:11

developer   ~32092

Last edited: 2015-05-06 10:12

Just now:
$ git reset --hard
HEAD is now at 4b0d617 Fixed issue 09611: High memory use of STATA export plugin
$ git pull
Updating 4b0d617..ea9f3d7

But have same issue http://206.sondages.pro/index.php/847984?newtest=Y&lang=ru .

You test with this survey ? All in one page survey ?

Test without admin connection : Please choose is in english
Test with admin connection : Please choose is in french

I search for another place where App->lang is set.

http://206.sondages.pro/index.php/847984?newtest=Y&lang=fr give english too for "Please choose"

c_schmitz

c_schmitz

2015-05-06 10:40

administrator   ~32096

Still can't reproduce. There is no other place. Try resetting the LimeSurvey cache - do a fresh import of the survey.

DenisChenu

DenisChenu

2015-05-06 10:42

developer   ~32097

Last edited: 2015-05-06 10:42

You reproduce on my links ?

PHP version can broke something ?

c_schmitz

c_schmitz

2015-05-06 10:53

administrator   ~32098

Yes, I can reproduce on your links, but locally using the same Russian survey I cannot.

DenisChenu

DenisChenu

2015-05-06 11:41

developer   ~32100

clone 206 again : not fixed, maybe something in DB ?

c_schmitz

c_schmitz

2015-05-06 11:43

administrator   ~32101

Try a clean DB , then ;).

DenisChenu

DenisChenu

2015-05-06 13:41

developer   ~32103

Not by DB:
In application/core/LSWebUser constructor:

        if (empty(Yii::app()->session['adminlang']))
        {
             Yii::app()->session["adminlang"] = Yii::app()->getConfig("defaultlang");
        }
        if(!App()->language)
            Yii::app()->setLanguage(Yii::app()->session['adminlang']);

Then it's rested always to defaultlang.

I don't understand why you don't have the bug ....

DenisChenu

DenisChenu

2015-05-06 14:45

developer   ~32104

Reset the DB + reset runtime + reset assets fix the issue ....

But Why ?????

Related Changesets

LimeSurvey: 2.06 9b40233d

2015-04-29 14:47:55

c_schmitz

Details Diff
Fixed issue 09566: Survey language is mistakenly used for admin interface Affected Issues
09566
mod - application/helpers/common_helper.php Diff File

LimeSurvey: 2.06 ea9f3d7f

2015-05-06 07:11:55

c_schmitz

Details Diff
Fixed issue 09566: Some strings are not from survey language the first time Affected Issues
09566
mod - application/helpers/common_helper.php Diff File

Issue History

Date Modified Username Field Change
2015-03-17 10:49 DenisChenu New Issue
2015-03-17 10:53 DenisChenu File Added: Capture du 2015-03-17 10:43:48.png
2015-03-17 10:53 DenisChenu File Added: Capture du 2015-03-17 10:44:54.png
2015-03-17 10:53 DenisChenu File Added: Capture du 2015-03-17 10:46:49.png
2015-03-17 10:55 DenisChenu Note Added: 31840
2015-04-29 15:03 c_schmitz Assigned To => c_schmitz
2015-04-29 15:03 c_schmitz Status new => assigned
2015-04-29 16:45 c_schmitz Relationship added has duplicate 09564
2015-04-29 16:48 c_schmitz Changeset attached => LimeSurvey 2.06 9b40233d
2015-04-29 16:48 c_schmitz Note Added: 32074
2015-04-29 16:48 c_schmitz Resolution open => fixed
2015-04-29 16:48 c_schmitz Status assigned => resolved
2015-04-29 16:48 c_schmitz Fixed in Version => 2.06+
2015-04-30 19:36 DenisChenu Note Added: 32083
2015-04-30 19:36 DenisChenu File Added: limesurvey_survey_russian.lss
2015-04-30 19:36 DenisChenu File Deleted: Capture du 2015-03-17 10:43:48.png
2015-04-30 19:36 DenisChenu File Deleted: Capture du 2015-03-17 10:44:54.png
2015-04-30 19:36 DenisChenu File Deleted: Capture du 2015-03-17 10:46:49.png
2015-04-30 19:37 DenisChenu File Added: Capture du 2015-04-30 19:33:58.png
2015-04-30 19:38 DenisChenu Status resolved => assigned
2015-04-30 19:39 DenisChenu Note Edited: 32083
2015-04-30 19:43 DenisChenu Note Edited: 32083
2015-04-30 19:44 DenisChenu File Added: After_Activation.png
2015-04-30 19:45 DenisChenu Note Edited: 32083
2015-05-05 17:10 DenisChenu Note Edited: 32083
2015-05-06 09:12 c_schmitz Changeset attached => LimeSurvey 2.06 ea9f3d7f
2015-05-06 09:12 c_schmitz Note Added: 32089
2015-05-06 09:12 c_schmitz Assigned To c_schmitz => DenisChenu
2015-05-06 09:12 c_schmitz Note Added: 32090
2015-05-06 09:12 c_schmitz Status assigned => feedback
2015-05-06 10:11 DenisChenu Note Added: 32092
2015-05-06 10:11 DenisChenu Status feedback => assigned
2015-05-06 10:12 DenisChenu Note Edited: 32092
2015-05-06 10:40 c_schmitz Note Added: 32096
2015-05-06 10:42 DenisChenu Note Added: 32097
2015-05-06 10:42 DenisChenu Note Edited: 32097
2015-05-06 10:53 c_schmitz Note Added: 32098
2015-05-06 11:41 DenisChenu Note Added: 32100
2015-05-06 11:43 c_schmitz Note Added: 32101
2015-05-06 13:41 DenisChenu Note Added: 32103
2015-05-06 14:28 DenisChenu Relationship added related to 09621
2015-05-06 14:45 DenisChenu Note Added: 32104
2015-05-06 14:45 DenisChenu Status assigned => closed
2015-06-18 14:50 DenisChenu Relationship added related to 09695