View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05566Bug reportsOtherpublic2012-03-14 21:08
Reporterdataguru Assigned ToTMSWhite  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91+ 
Target Version1.92RC4Fixed in Version1.92RC4 
Summary05566: Survey and e-mails use different methods to include token data
Description

When {TOKEN:ATTRIBUTE_1} is embedded in the survey title, it displays correctly on the survey, however, it does not display correctly in the invitation, reminder and confirmation e-mails which need it formatted as {ATTRIBUTE_1}.

Steps To Reproduce

add attribute_1 to your token table and populate it with some text. Embed {TOKEN:ATTRIBUTE_1} in the survey title, then generate an invitation e-mail. In the e-mail it displays as {TOKEN:ATTRIBUTE_1} and does not display the text stored in attribute_1.

Additional Information

I've been dealing with it by editing the invite and reminder e-mails each time before they're sent and changing {TOKEN:ATTRIBUTE_1} to {ATTRIBUTE_1}, however, the confirmation e-mails are automatically generated, so it's not possible to edit them prior to their being sent.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)10563
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionmysql 5.0.77
Server OS (if known)Dunno
Webserver software & version (if known)Apache/2.2.3 (Red Hat)
PHP Version5.3.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-02-01 23:29

administrator   ~17153

Thomas, could you at some time in the future take a look at this for 2.0?
I agree with the OP and it would be easier if the same tag was used. For backward compatibility we could still support the 'old' tag. What do you think?

TMSWhite

TMSWhite

2012-02-07 21:38

reporter   ~17292

Fixed in revision 12399

c_schmitz

c_schmitz

2012-02-14 14:10

administrator   ~17405

1.92RC4 released

Related Changesets

LimeSurvey: Yii 81c26666

2012-02-07 12:42:57

TMSWhite

Details Diff
Fixed issue 05566: Survey and e-mails use different methods to include token data
Dev retained ability to use {ATTRIBUTE_X} in emails for backwards compatibility

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12400 b72ed6b6-b9f8-46b5-92b4-906544132732
Affected Issues
05566
mod - application/controllers/admin/tokens.php Diff File

Issue History

Date Modified Username Field Change
2011-11-08 15:38 dataguru New Issue
2011-11-08 15:55 c_schmitz Assigned To => c_schmitz
2011-11-08 15:55 c_schmitz Status new => assigned
2011-11-08 16:18 c_schmitz Target Version => 2.00a2
2012-02-01 23:27 c_schmitz Assigned To c_schmitz => TMSWhite
2012-02-01 23:29 c_schmitz Note Added: 17153
2012-02-07 21:35 TMSWhite Target Version 2.00a2 => 1.92RC4
2012-02-07 21:38 TMSWhite Note Added: 17292
2012-02-07 21:38 TMSWhite Status assigned => resolved
2012-02-07 21:38 TMSWhite Fixed in Version => 1.92RC4
2012-02-07 21:38 TMSWhite Resolution open => fixed
2012-02-14 14:10 c_schmitz Note Added: 17405
2012-02-14 14:10 c_schmitz Status resolved => closed
2012-03-14 21:08 TMSWhite Changeset attached => Import 2012-03-09 13:30:34 Yii 81c26666