View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
07114Bug reportsExpression Managerpublic2013-01-02 21:30
ReporterMazi Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Target Version2.00+Fixed in Version2.00+ 
Summary07114: {TEMPLATEURL} not parsed correctly at survey's end message
Description

If you want to show an image placed at the template folder and want to use the {TEMPLATEURL} placeholder, then this always refers to the default template and not the template currently used.

Steps To Reproduce
  1. Import the atteched survey which uses the "basic" template
  2. Run the survey and click submit.
  3. At the end message screen, the template URL is shown via placeholder -> it refers to the "default" template and not the actually used "basic" template.
TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)121220
I will donate to the project if issue is resolvedNo
BrowserFirefox 14
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

inspire

Activities

DenisChenu

DenisChenu

2012-12-21 13:37

developer   ~23341

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

DenisChenu

DenisChenu

2012-12-21 14:07

developer   ~23342

Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10981

DenisChenu

DenisChenu

2012-12-21 14:12

developer   ~23343

The templatereplace function need really all this data ?
Think redata had to be removed, maybe replace by just surveyid

c_schmitz

c_schmitz

2013-01-02 21:30

administrator   ~23413

New version released.

Related Changesets

LimeSurvey: master 66e1f917

2012-12-21 13:34

DenisChenu


Details Diff
Fixed issue 07114: {TEMPLATEURL} not parsed correctly at survey's end message
Fixed issue: error public page don't use survey template
Dev: this $redata is a pity ....
Affected Issues
07114
mod - application/controllers/survey/index.php Diff File
mod - application/helpers/SurveyRuntimeHelper.php Diff File

LimeSurvey: 2.1 2cd136f5

2012-12-21 14:05

DenisChenu


Details Diff
Fixed issue 07114: {TEMPLATEURL} not parsed correctly at survey's end message
Fixed issue: error public page don't use survey template
Dev: $redata is really a pity
Affected Issues
07114
mod - application/controllers/survey/index.php Diff File
mod - application/helpers/SurveyRuntimeHelper.php Diff File

Issue History

Date Modified Username Field Change
2012-12-20 17:59 Mazi New Issue
2012-12-20 17:59 Mazi Status new => assigned
2012-12-20 17:59 Mazi Assigned To => DenisChenu
2012-12-20 17:59 Mazi File Added: limesurvey_survey_354281.lss
2012-12-21 00:31 inspire Issue Monitored: inspire
2012-12-21 13:37 DenisChenu Changeset attached => LimeSurvey master 66e1f917
2012-12-21 13:37 DenisChenu Note Added: 23341
2012-12-21 13:37 DenisChenu Resolution open => fixed
2012-12-21 14:07 DenisChenu Changeset attached => LimeSurvey 2.1 2cd136f5
2012-12-21 14:07 DenisChenu Note Added: 23342
2012-12-21 14:12 DenisChenu Note Added: 23343
2012-12-21 14:12 DenisChenu Status assigned => resolved
2012-12-21 14:12 DenisChenu Fixed in Version => 2.00+
2013-01-02 21:30 c_schmitz Note Added: 23413
2013-01-02 21:30 c_schmitz Status resolved => closed
2021-08-03 07:03 guest Bug heat 4 => 6