View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
08166Bug reportsSurvey participants (Tokens)public2013-09-23 13:27
ReporterMazi Assigned Toc_schmitz  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.00+ 
Target Version2.00+Fixed in Version2.00+ 
Summary08166: Placeholders for token and email are broken for registration emails
Description

When allowing people to register to a survey, you often want to list their email and their token at the registration email. The placeholders {EMAIL} and {TOKEN} do NOT work for the registration email, neither do {TOKEN:EMAIL} or {TOKEN:TOKEN}.
The survey is set to be NOn anonymous.

My test survey uses this registration eail text:
Hi {FIRSTNAME}<br /><br />

This is a placeholder test based on the registration data you have inputted.<br /><br />

Your email: {EMAIL} or {TOKEN:EMAIL}<br />
Your token: {TOKEN} or {TOKEN:TOKEN}

The attached screenshot shows what I receive. It seems that placeholders exist but are not filled.

Steps To Reproduce

Register at the test survey at http://limesurvey-templates.com/20/index.php/survey/index/sid/985111/newtest/Y/lang/en

...or import the attached survey and test yourself.

TagsNo tags attached.
Attached Files
email_placeholders.png (4,802 bytes)   
email_placeholders.png (4,802 bytes)   
Bug heat2
Complete LimeSurvey version number (& build)130913
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL 5
Server OS (if known)Win 7
Webserver software & version (if known)Apache 2.2
PHP Version5.3.1

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2013-09-18 15:14

administrator   ~26277

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

c_schmitz

c_schmitz

2013-09-18 15:18

administrator   ~26278

Fix committed to 2.05 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=13019

c_schmitz

c_schmitz

2013-09-23 13:27

administrator   ~26319

Version 2.00+ Build 130923 released

Related Changesets

LimeSurvey: master 51460944

2013-09-18 13:13:48

c_schmitz

Details Diff
Fixed issue 08166: Placeholders for token and email are not available in registration emails Affected Issues
08166
mod - application/controllers/RegisterController.php Diff File

LimeSurvey: 2.05 36940943

2013-09-18 13:18:33

c_schmitz

Details Diff
Fixed issue 08166: Placeholders for token and email are not available in registration emails Affected Issues
08166
mod - application/controllers/RegisterController.php Diff File

Issue History

Date Modified Username Field Change
2013-09-17 21:02 Mazi New Issue
2013-09-17 21:02 Mazi Status new => assigned
2013-09-17 21:02 Mazi Assigned To => c_schmitz
2013-09-17 21:02 Mazi File Added: limesurvey_survey_985111.lss
2013-09-17 21:03 Mazi File Added: email_placeholders.png
2013-09-18 15:14 c_schmitz Changeset attached => LimeSurvey master 51460944
2013-09-18 15:14 c_schmitz Note Added: 26277
2013-09-18 15:14 c_schmitz Resolution open => fixed
2013-09-18 15:16 c_schmitz Status assigned => resolved
2013-09-18 15:16 c_schmitz Fixed in Version => 2.00+
2013-09-18 15:18 c_schmitz Changeset attached => LimeSurvey 2.05 36940943
2013-09-18 15:18 c_schmitz Note Added: 26278
2013-09-23 13:27 c_schmitz Note Added: 26319
2013-09-23 13:27 c_schmitz Status resolved => closed
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)