View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
09126Bug reportsPrint Viewpublic2014-07-23 17:25
ReporteriMaugis Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary09126: Survey's token variables aren't set when exporting printing results view to PDF format.
Description

Hello World !

I've wanted to put the lastname, the firstname and the email of the peson who answers the questionnay in the final printing results view so I've created a question "text display" type and put the following code in the source mode of the editor :

Lastname : {TOKEN:LASTNAME}<br />
Firstname : {TOKEN:FIRSTNAME}<br />
Email : {TOKEN:EMAIL}<br />

The values of these variables are well displayed into the printing results view but not in the export in PDF...

I join the lss file of the survey.

Steps To Reproduce

Create a question "display text" type and put the following code in the source mode of the editor :

Lastname : {TOKEN:LASTNAME}<br />
Firstname : {TOKEN:FIRSTNAME}<br />
Email : {TOKEN:EMAIL}<br />

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)Build 140116
I will donate to the project if issue is resolvedNo
BrowserFirefox 30.0
Database type & versionMySQL 5.5.37
Server OS (if known)Ubuntu 14.04
Webserver software & version (if known)Apache 2.4.7
PHP VersionPHP 5.5.9

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2014-07-09 19:03

developer   ~30285

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

c_schmitz

c_schmitz

2014-07-23 17:25

administrator   ~30326

2.05+ Build 140717 released

Related Changesets

LimeSurvey: master 51f8b953

2014-07-09 17:03:28

DenisChenu

Details Diff
Fixed issue 09126: Survey's token and EM variables aren't set when exporting printing results view to PDF format. Affected Issues
09126
mod - application/controllers/PrintanswersController.php Diff File

Issue History

Date Modified Username Field Change
2014-07-02 15:29 iMaugis New Issue
2014-07-02 15:29 iMaugis File Added: limesurvey_survey_691956.lss
2014-07-09 18:57 DenisChenu Assigned To => DenisChenu
2014-07-09 18:57 DenisChenu Status new => assigned
2014-07-09 19:03 DenisChenu Changeset attached => LimeSurvey master 51f8b953
2014-07-09 19:03 DenisChenu Note Added: 30285
2014-07-09 19:03 DenisChenu Resolution open => fixed
2014-07-09 19:03 DenisChenu Status assigned => resolved
2014-07-09 19:03 DenisChenu Fixed in Version => 2.05+
2014-07-23 17:25 c_schmitz Note Added: 30326
2014-07-23 17:25 c_schmitz Status resolved => closed