View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 08014 | Bug reports | Accessibility | public | 2013-07-15 19:44 | 2013-09-23 13:27 |
| Reporter | hofmarkus | Assigned To | DenisChenu | ||
| Priority | high | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.00+ | ||||
| Fixed in Version | 2.00+ | ||||
| Summary | 08014: BUG with display the correct language title {SURVEYNAME} when I use tokenlist | ||||
| Description | I work with the latest stable version 2.00 Build 130708 + and have the following problem: If I'm work WITHOUT tokens then the survey works good (display english and german-title). However, with the list of participants (ie, through an token-key) in the first page only the title of For information: Token: <TOKENFIELD> My opinion is that this is a BUG, because it works with the "old" version 1.92 Build 120919 + without problems. | ||||
| Steps To Reproduce |
| ||||
| Additional Information | My opinion is that this is a BUG, because it works with the "old" version 1.92 Build 120919 + without problems. Working version: | ||||
| Tags | No tags attached. | ||||
| Attached Files | tokens_868177.csv (465 bytes)
tid,firstname,lastname,email,emailstatus,token,language,validfrom,validuntil,invited,reminded,remindercount,completed,usesleft "1","","","","OK","rtcmvz5jkbyuayk","en","","","N","N","0","N","1" "2","","","","OK","xf42r3yk465sp3j","en","","","N","N","0","N","1" "3","","","","OK","gcdu5n6hasxqdc3","de","","","N","N","0","N","1" "4","","","","OK","hx7p6ve2gt8y4hz","de","","","N","N","0","N","1" "5","","","","OK","eymnafjapsrxf3b","de","","","N","N","0","N","1" frontend_helper.diff (565 bytes)
--- frontend_helper_2.05b4.php 2013-07-02 21:24:04.000000000 +0200
+++ frontend_helper.php 2013-08-15 17:55:08.000000000 +0200
@@ -1321,9 +1321,10 @@
$clang = Yii::app()->lang;
- $thissurvey = getSurveyInfo($surveyid);
if (empty($templang))
{
$templang=$clang->langcode;
}
+ $thissurvey = getSurveyInfo($surveyid,$templang);
+ $languagechanger=makeLanguageChangerSurvey($clang->langcode);
$_SESSION['survey_'.$surveyid]['templatename']=validateTemplateDir($thissurvey['template']);
| ||||
| Bug heat | 8 | ||||
| Complete LimeSurvey version number (& build) | 130708 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Firefox, Explorer, Google chrome | ||||
| Database type & version | Mysql 5.1 | ||||
| Server OS (if known) | Centos 6.4 64bit | ||||
| Webserver software & version (if known) | Apache 2.2.15 | ||||
| PHP Version | 5.3.3. | ||||
|
Lo, What is language code from Token ? Ca you provide a little lss file + token table ? |
|
|
Thanks for your answer. Without the tokenlist (generate automaticly the 5 tokens) it works fine. I hope you understand my problem? |
|
|
I encountered the same issue. Also, the first page has no language changer. I uploaded a file, frontend_helper.diff, with changes to /application/helpers/frontend_helper.php that fixes the problem for me. Denis, please take a look whether this is the proper way to fix this issue. I am new to limesurvey. |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=12884 |
|
|
Fix committed to 2.05 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=12885 |
|
|
Version 2.00+ Build 130923 released |
|
|
LimeSurvey: master aec56fc3 2013-08-20 17:46 Details Diff |
Fixed issue 08014: Incorrect language survey settings when access a restricted survey without token Dev: Add language changer too (if in startpage.pstpl or survey.pstpl) Dev: language changer work only with js, work on register or token enter |
Affected Issues 08014 |
|
| mod - application/controllers/survey/index.php | Diff File | ||
| mod - application/helpers/frontend_helper.php | Diff File | ||
|
LimeSurvey: 2.05 56a1d8f0 2013-08-20 18:26 Details Diff |
Fixed issue 08014: Incorrect language survey settings when access a restricted survey without token Dev: Add language changer too (if in startpage.pstpl or survey.pstpl) Dev: language changer work only with js, work on register or token enter |
Affected Issues 08014 |
|
| mod - application/controllers/survey/index.php | Diff File | ||
| mod - application/helpers/frontend_helper.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-07-15 19:44 | hofmarkus | New Issue | |
| 2013-07-16 17:15 | DenisChenu | Note Added: 25801 | |
| 2013-07-16 18:47 | hofmarkus | File Added: limesurvey_survey_868177.lss | |
| 2013-07-16 18:47 | hofmarkus | File Added: survey-german-with-language-english.png | |
| 2013-07-16 18:48 | hofmarkus | File Added: survey-german-with-language-english-without-tokens.png | |
| 2013-07-16 18:48 | hofmarkus | File Added: tokens_868177.csv | |
| 2013-07-16 18:52 | hofmarkus | Note Added: 25802 | |
| 2013-08-15 18:26 | Peter_Roes | File Added: frontend_helper.diff | |
| 2013-08-15 18:39 | Peter_Roes | Note Added: 26000 | |
| 2013-08-17 18:05 | DenisChenu | Assigned To | => DenisChenu |
| 2013-08-17 18:05 | DenisChenu | Status | new => assigned |
| 2013-08-20 17:46 | DenisChenu | Changeset attached | => LimeSurvey master aec56fc3 |
| 2013-08-20 17:46 | DenisChenu | Note Added: 26026 | |
| 2013-08-20 17:46 | DenisChenu | Resolution | open => fixed |
| 2013-08-20 18:27 | DenisChenu | Changeset attached | => LimeSurvey 2.05 56a1d8f0 |
| 2013-08-20 18:27 | DenisChenu | Note Added: 26027 | |
| 2013-08-20 19:26 | DenisChenu | Status | assigned => resolved |
| 2013-08-20 19:26 | DenisChenu | Fixed in Version | => 2.00+ |
| 2013-09-23 13:27 | c_schmitz | Note Added: 26327 | |
| 2013-09-23 13:27 | c_schmitz | Status | resolved => closed |