View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06628Bug reportsSurvey takingpublic2012-10-05 15:26
Reporterpetert Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary06628: Passthrough values not being handled by build 121002
Description

After survey completion passthrough variables that worked in 1.92+ are passed as empty and {SID} is passed as 0. Beginning URL formated thus: ... survey2/index.php?sid=32685&passthru=profile&profile=469361 Upon completion resulting redirect URL is:
complete.php?=&s=0

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)121002
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & versionmysql 5.0.96
Server OS (if known)linux
Webserver software & version (if known)apache
PHP Version5.2.4-2ubuntu5.25

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-10-03 17:26

administrator   ~21004

This is not a bug. The old way of passing variables is obsolete. Please refer to http://docs.limesurvey.org/URL+fields#Passthrough_fields_LimeSurvey_2.x_or_later_

petert

petert

2012-10-03 20:16

reporter   ~21009

Carl -- thanks for the quick followup. Using new 2.00 methodology results in similar problem. profile and sur defined as parameters in Panel Integration and assigned to no question(s).

Then survey start url is used like this:
index.php/survey/index/sid/66549/lang/en?profile=12345&sur=555

Text elements end url code (Edit Survey --> Text Elements) is set to:
complete.php?pe={PASSTHRU:profile}&sr={PASSTHRU:sur}

Redirect URL is returned like this:
complete.php?pe=&sr=

Additionally, the placeholder {SID} consistently returns 0 when used like this
complete.php?ss={SID}&pe={PASSTHRU:profile}&sr={PASSTHRU:sur}

Returns:
complete.php?ss=0&pe=sur%7D notice missing second & and trailing ~

c_schmitz

c_schmitz

2012-10-03 22:13

administrator   ~21013

It's Carsten.

Please attach a sample survey as .lss file. Thank you.

petert

petert

2012-10-03 22:32

reporter   ~21014

Carsten -- 243k lss file attached. Thanks. Not sure what planet "Carl" came from...

petert

petert

2012-10-03 22:42

reporter   ~21015

Sidenote of interest: when I save params, then go edit a question, and return to Panel Integration, params are gone. Checked database, and they are there, but if you save Panel Integration again (when empty) existing params are, of course, deleted since the new Save action posts an empty set. Problem exists whether or not question assignments are made.

c_schmitz

c_schmitz

2012-10-04 11:17

administrator   ~21023

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

c_schmitz

c_schmitz

2012-10-04 11:18

administrator   ~21024

Thank you. All issues should be fixed in the next 2.00+ build.

petert

petert

2012-10-04 15:27

reporter   ~21032

Thanks Carsten. 3,200+ questions and still loving the taste of Lime.

c_schmitz

c_schmitz

2012-10-05 15:26

administrator   ~21078

New version 2.00+ build 121005 released.

Related Changesets

LimeSurvey: master 771006b1

2012-10-04 04:17

c_schmitz


Details Diff
Fixed issue 06628: Passthrough values not being handled Affected Issues
06628
mod - application/helpers/SurveyRuntimeHelper.php Diff File
mod - application/helpers/replacements_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-10-02 19:35 petert New Issue
2012-10-03 17:26 c_schmitz Note Added: 21004
2012-10-03 17:26 c_schmitz Status new => closed
2012-10-03 17:26 c_schmitz Assigned To => c_schmitz
2012-10-03 17:26 c_schmitz Resolution open => no change required
2012-10-03 20:16 petert Note Added: 21009
2012-10-03 20:16 petert Status closed => feedback
2012-10-03 20:16 petert Resolution no change required => reopened
2012-10-03 22:13 c_schmitz Note Added: 21013
2012-10-03 22:30 petert File Added: limesurvey_survey_66549.lss.xml
2012-10-03 22:32 petert Note Added: 21014
2012-10-03 22:32 petert Status feedback => assigned
2012-10-03 22:42 petert Note Added: 21015
2012-10-04 11:17 c_schmitz Changeset attached => LimeSurvey master 771006b1
2012-10-04 11:17 c_schmitz Note Added: 21023
2012-10-04 11:18 c_schmitz Note Added: 21024
2012-10-04 11:18 c_schmitz Status assigned => resolved
2012-10-04 11:18 c_schmitz Fixed in Version => 2.00+
2012-10-04 11:18 c_schmitz Resolution reopened => fixed
2012-10-04 15:27 petert Note Added: 21032
2012-10-05 15:26 c_schmitz Note Added: 21078
2012-10-05 15:26 c_schmitz Status resolved => closed