View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08098 | Bug reports | Survey participants (Tokens) | public | 2013-08-16 11:46 | 2015-05-11 10:35 |
Reporter | Mazi | Assigned To | DenisChenu | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00+ | ||||
Fixed in Version | 2.06RC | ||||
Summary | 08098: Token attribute information is not available when using opt-out link from email | ||||
Description | When having a non anonymous survey which uses tokens and you want to use token attribute data e. g. at the survey title, then this token data is not available when clicking the opt-out link at the invitation email. Source code says: "<span style='background-color: #eee8aa;'><span title='Undefined variable' style='border-style: solid; border-width: 2px; border-color: red;'><span title='Undefined variable' style='color: red; font-weight: bold'>TOKEN:ATTRIBUTE_35</span></span></span>" | ||||
Steps To Reproduce |
-> The screen will not make use of the additional token attribute though token information is available at the end of the link and can easily be read from URL: .../index.php/optout/tokens/langcode/en/surveyid/484476/token/wbevmh8hr47cyhjbhra7e2ue54gnbt4hdzn | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 130526 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | 5.1.68 | ||||
Server OS (if known) | Linux | ||||
Webserver software & version (if known) | Apache 2 | ||||
PHP Version | 5.3.27 | ||||
Denis, can you have a look at this one? |
|
Set target to 2.10 as it is a basic problem in the templating and survey session engine. |
|
Maybe just fill the $_SESSION['token'] array, but don't start survey. Not sure here .... |
|
I am sorry, I don't get this. The OPTOUT template is really simple: just 1 line. There is no place where the attribute could have been injected. |
|
If you use {TOKEN:ATTRIBUTE_X} in your template startpage.pstpl : it can break. I take it for 2.06 (try). But link with 'don't show error' too : for this one, i have some idea. |
|
Fix committed to 2.06 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15156 |
|
Version 2.06RC2 Build 150511 released |
|
LimeSurvey: 2.06 57df898e 2015-05-09 16:53 Details Diff |
Fixed issue 08098: Token attribute information is not available when using opt-out link from email Dev: use EM Dev: fix a Notice in LimeExpressionManager::singleton()->loadTokenInformation if token don't exist |
Affected Issues 08098 |
|
mod - application/controllers/OptinController.php | Diff File | ||
mod - application/controllers/OptoutController.php | Diff File | ||
mod - application/helpers/expressions/em_manager_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-08-16 11:46 | Mazi | New Issue | |
2013-08-16 11:46 | Mazi | Status | new => assigned |
2013-08-16 11:46 | Mazi | Assigned To | => DenisChenu |
2013-08-16 11:57 | Mazi | Assigned To | DenisChenu => sammousa |
2013-08-16 12:02 | Mazi | Assigned To | sammousa => c_schmitz |
2013-08-31 13:01 | Mazi | Issue Monitored: DenisChenu | |
2013-08-31 13:01 | Mazi | Note Added: 26115 | |
2013-09-18 14:56 | c_schmitz | Target Version | 2.00+ => 2.10 |
2013-09-18 14:56 | c_schmitz | Assigned To | c_schmitz => |
2013-09-18 14:57 | c_schmitz | Note Added: 26276 | |
2013-10-11 12:57 | c_schmitz | Assigned To | => c_schmitz |
2013-10-11 12:57 | c_schmitz | Status | assigned => acknowledged |
2013-10-11 12:57 | c_schmitz | Assigned To | c_schmitz => |
2014-03-05 12:45 | DenisChenu | Note Added: 29104 | |
2014-11-22 07:31 | gabrieljenik | Note Added: 31037 | |
2014-11-22 07:32 | gabrieljenik | File Added: 141122 03_29_28 - http___192.168.33.10_limesurvey_index.php_optout_tokens_langcode_en_surveyid_897638_token_201411220301_Date broke organize Masculno - Mozilla Firefox.png | |
2014-11-22 15:58 | DenisChenu | Note Added: 31040 | |
2014-11-22 15:58 | DenisChenu | Assigned To | => DenisChenu |
2014-11-22 15:58 | DenisChenu | Status | acknowledged => assigned |
2015-05-09 16:54 | DenisChenu | Changeset attached | => LimeSurvey 2.06 57df898e |
2015-05-09 16:54 | DenisChenu | Note Added: 32155 | |
2015-05-09 16:54 | DenisChenu | Resolution | open => fixed |
2015-05-09 16:54 | DenisChenu | Status | assigned => resolved |
2015-05-09 16:54 | DenisChenu | Fixed in Version | => 2.06RC |
2015-05-11 10:35 | c_schmitz | Note Added: 32160 | |
2015-05-11 10:35 | c_schmitz | Status | resolved => closed |
2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |
2021-08-04 16:39 | guest | Bug heat | 8 => 10 |