View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
10841Bug reportsOtherpublic2016-04-01 11:36
Reporteraugusto Assigned Toollehar  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary10841: Prefilling a survey using GET parameters
Description

when I put a URL parameter, the specified field is filled in duplicate.
if I put in my URL the word "test" , the field will be filled with "testtest".

Steps To Reproduce

-create a URL parameter
-specify a number in the lines to display (eg 1) in the parameters of the question
-test to put a word in your URL parameter

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)Build 160317
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.5.47
Server OS (if known)Ubuntu 14.04.3
Webserver software & version (if known)Apache2.4.7
PHP VersionPHP 5.5.9

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2016-03-30 17:34

developer   ~36848

Can you provide a lss file for the test : just one question .

DenisChenu

DenisChenu

2016-03-31 08:49

developer   ~36852

Updated lss file : confirm the issue. Working in 2.06 , not in 2.50.

BUt not only with prefill :

  • Import survey
  • Start survey
  • Next
  • Set test- for answer
  • previous
  • Next
    => see test-test-
augusto

augusto

2016-03-31 09:10

reporter   ~36853

Last edited: 2016-03-31 09:20

OK i have to update to 2.60

what is wrong with :

  • Import survey
  • Start survey
  • Next
  • Set test- for answer
  • previous
  • Next
    ??
DenisChenu

DenisChenu

2016-03-31 09:14

developer   ~36854

2.06, not 2.60 ...

You have the same behaviour than with prefill : the value entered by user is dupivcated.

augusto

augusto

2016-03-31 09:21

reporter   ~36856

Ah ok thanks

For now I'll use a trick described in this post : https://www.limesurvey.org/forum/french-forum/104065-probl%C3%A8me-param%C3%A8tre-url#133707

ollehar

ollehar

2016-03-31 14:48

administrator   ~36870

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

augusto

augusto

2016-03-31 16:41

reporter   ~36871

Thanks everyone :D

c_schmitz

c_schmitz

2016-04-01 11:36

administrator   ~36879

Version 2.50+ Build 160401 released

Related Changesets

LimeSurvey: master c0b3fdf9

2016-03-31 12:47:31

ollehar

Details Diff
Fixed issue 10841: Prefilling a survey using GET parameters

.= should be =
Affected Issues
10841
mod - application/helpers/qanda_helper.php Diff File

Issue History

Date Modified Username Field Change
2016-03-30 14:55 augusto New Issue
2016-03-30 17:34 DenisChenu Note Added: 36848
2016-03-30 17:42 augusto File Added: limesurvey_survey_532447.lss
2016-03-31 08:47 DenisChenu File Added: limesurvey_survey_prefill.lss
2016-03-31 08:47 DenisChenu File Deleted: limesurvey_survey_532447.lss
2016-03-31 08:49 DenisChenu Note Added: 36852
2016-03-31 08:50 DenisChenu File Deleted: limesurvey_survey_prefill.lss
2016-03-31 08:50 DenisChenu File Added: limesurvey_survey_textarea_multiple.lss
2016-03-31 09:10 augusto Note Added: 36853
2016-03-31 09:11 augusto Note Edited: 36853
2016-03-31 09:14 DenisChenu Note Added: 36854
2016-03-31 09:20 augusto Note Edited: 36853
2016-03-31 09:21 augusto Note Added: 36856
2016-03-31 09:48 LouisGac Priority none => high
2016-03-31 09:48 LouisGac Severity minor => partial_block
2016-03-31 12:53 ollehar Assigned To => ollehar
2016-03-31 12:53 ollehar Status new => assigned
2016-03-31 13:17 ollehar Status assigned => confirmed
2016-03-31 14:48 ollehar Changeset attached => LimeSurvey master c0b3fdf9
2016-03-31 14:48 ollehar Note Added: 36870
2016-03-31 14:48 ollehar Resolution open => fixed
2016-03-31 14:48 ollehar Status confirmed => resolved
2016-03-31 14:48 ollehar Fixed in Version => 2.5
2016-03-31 16:41 augusto Note Added: 36871
2016-04-01 11:36 c_schmitz Note Added: 36879
2016-04-01 11:36 c_schmitz Status resolved => closed