View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06837Bug reportsExpression Managerpublic2012-11-13 09:32
Reportereblanche Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary06837: Unable to use {QCode} or {INSERTANS:SGQA} in end url
Description

Trying to forward one answer to the end url using either question code or sgqa code always returns an "unknown variable" error message.

Steps To Reproduce

1/ create survey, standard settings -> id 12345
2/ create a group -> id 88
3/ create on question to the group -> id 99, code SECTOR
4/ In survey/edit text elements/end url, fill with
http://some.url/index.html?SECTOR={SECTOR}
or
http://some.url/index.html?SECTOR={INSERANS:12345X88X99}
5/ Test the survey -> Error message
6/ Activate survey
7/ Test the survey -> Error message

Additional Information

Behavior also seen on Version 1.92+ Build 120501

TagsNo tags attached.
Attached Files
probem_var_forward.lss (11,891 bytes)
Bug heat4
Complete LimeSurvey version number (& build)121106
I will donate to the project if issue is resolvedNo
BrowserFF 14.0.1
Database type & versionMysql
Server OS (if known)RHEL 5.8
Webserver software & version (if known)Apache 2.2.22
PHP Version5.3.18

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-11-08 12:43

administrator   ~22011

Can you please attach a small sample survey as .lss file demonstrating the issue?
Where do you get the impression that this would work, at all?

eblanche

eblanche

2012-11-09 09:36

reporter   ~22039

Here is a simple survey that uses the same survey as end url.
{SID} is correctly interpreted, however the {FIELD} is not.
Tried with {INSERTANS:SGQA}, same result

c_schmitz

c_schmitz

2012-11-09 14:11

administrator   ~22043

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

c_schmitz

c_schmitz

2012-11-10 08:50

administrator   ~22048

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

c_schmitz

c_schmitz

2012-11-13 09:32

administrator   ~22099

New 2.00+ build released

Related Changesets

LimeSurvey: master 92735ff3

2012-11-09 13:11:27

c_schmitz

Details Diff
Fixed issue 06837: Unable to use {QCode} or {INSERTANS:SGQA} in end url Affected Issues
06837
mod - application/helpers/SurveyRuntimeHelper.php Diff File

LimeSurvey: 2.1 280d716b

2012-11-09 13:11:27

c_schmitz

Details Diff
Fixed issue 06837: Unable to use {QCode} or {INSERTANS:SGQA} in end url Affected Issues
06837
mod - application/helpers/SurveyRuntimeHelper.php Diff File

Issue History

Date Modified Username Field Change
2012-11-07 12:15 eblanche New Issue
2012-11-07 12:15 eblanche Status new => assigned
2012-11-07 12:15 eblanche Assigned To => TMSWhite
2012-11-07 12:15 eblanche File Added: bug_end_url_forward _var.zip
2012-11-08 12:40 c_schmitz Assigned To TMSWhite => c_schmitz
2012-11-08 12:43 c_schmitz Note Added: 22011
2012-11-08 12:43 c_schmitz Status assigned => feedback
2012-11-08 13:02 c_schmitz File Deleted: bug_end_url_forward _var.zip
2012-11-09 09:35 eblanche File Added: probem_var_forward.lss
2012-11-09 09:36 eblanche Note Added: 22039
2012-11-09 09:36 eblanche Status feedback => assigned
2012-11-09 14:11 c_schmitz Changeset attached => LimeSurvey master 92735ff3
2012-11-09 14:11 c_schmitz Note Added: 22043
2012-11-09 14:11 c_schmitz Resolution open => fixed
2012-11-09 14:12 c_schmitz Status assigned => resolved
2012-11-09 14:12 c_schmitz Fixed in Version => 2.00+
2012-11-10 08:50 c_schmitz Changeset attached => LimeSurvey 2.1 280d716b
2012-11-10 08:50 c_schmitz Note Added: 22048
2012-11-13 09:32 c_schmitz Note Added: 22099
2012-11-13 09:32 c_schmitz Status resolved => closed