View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
04901Bug reportsSurvey editingpublic2011-02-11 21:48
Reporteruser11248Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version1.90+ 
Summary04901: GSoC - other variable replacement field
Description

When using in question one the option Other and use this variable in question 2, it will not only show the variable that is filled in, but also the word "Other"

Steps To Reproduce
  1. Make a question with answers as a list + set true for adding the Other option (e.g. "what pet do you have")
  2. Make another question and by using 'insert/edit LimeSurvey replacement field' add the variable [Other].. (e.g. how old is your cat? --> where cat is the variable added by the user at the Other field)
  3. When using the questionnaire, it should show "how old is your cat?" but it shows "how old is your Other cat"
TagsNo tags attached.
Attached Files
other1.PNG (5,976 bytes)   
other1.PNG (5,976 bytes)   
other2.PNG (1,601 bytes)   
other2.PNG (1,601 bytes)   
question.png (12,721 bytes)   
question.png (12,721 bytes)   
Answer.png (16,229 bytes)   
Answer.png (16,229 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)9642
I will donate to the project if issue is resolvedNo
Browserchrome
Database type & versionServer version: 5.1.54 MySQL Community Server (GPL)
Server OS (if known)Debian Lenny 2.6.32.25xls-domU
Webserver software & version (if known)Apache 2.0
PHP VersionPHP/5.2.16
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2011-01-26 23:45

administrator   ~13988

Please add a small sample survey to reproduce the issue.

Mazi

Mazi

2011-01-31 16:44

updater   ~14016

I can NOT reproduce this issue. There is no "other" shown in front of the inserted placeholder.
I tested using 1.91RC3, see sample survey attached.

user11248

2011-02-01 14:33

  ~14027

My apologies! I have a multi language questionnaire and didn't realize the problem only occured in the Dutch version of the survey. I added some pictures to show the problem. In English it works fine indeed, but it would be very nice if the variable works the same way in the Dutch survey (so without the word "Anders").

Thanks for your help in this!

Mazi

Mazi

2011-02-01 17:39

updater   ~14031

Ahhh, maybe we just have to replace the translated "other" at non-english surveys then.

Can you attach a small dutch sample survey for testing!?

user11248

2011-02-02 11:31

  ~14036

I already added 2 pics as an example :-) Or do you need another kind of example?

Mazi

Mazi

2011-02-02 12:36

updater   ~14037

Just export your survey and upload it here. This makes it much easier to test because we only need to import your survey.#

Thanks!

user11248

2011-02-02 13:08

  ~14040

ok, hopefully i uploaded the right export-file.. otherwise let me know. The problem is with question 1.1 (first group) and question 1.3a (second group) for example.

Mazi

Mazi

2011-02-02 13:56

updater   ~14041

Thanks for providing the survey.

I CAN reproduce the problem when using the Dutch version of the survey while the english version doesn't display the additional "other" string (see screenshots).

I guess that the replace function needs to treat all the translations of "other" in different languages.

user11248

2011-02-02 14:02

  ~14042

For some reason the replacement function in Dutch uses "Anders" + the variable, which just like in English should only be the variable. Could this be fixed?

c_schmitz

c_schmitz

2011-02-11 18:35

administrator   ~14154

I cannot reproduce the issue with Mazi's test survey, even when adding Dutch as additional language.
I am not willing to click through a 100 question survey to see this bug.
Can anyone of you , jeetje or Mazi, attach a small sample survey where this bug can be reproduced`?

Thank you.

user11248

2011-02-11 19:04

  ~14155

I added the survey which shows the problem already. You only need to answer question 1.1, click "volgende" and you will see the problem immediately. Hope that will work.

c_schmitz

c_schmitz

2011-02-11 19:15

administrator   ~14156

You forgot to attach it :-)

user11248

2011-02-11 19:18

  ~14157

Hmm, I did about a week ago, maybe something went wrong? Or do you mean another file?

At the attachments list it says:
limesurvey_survey_49391.lss [^] (353,073 bytes) 2011-02-02 13:06

That's the file I uploaded.

c_schmitz

c_schmitz

2011-02-11 21:48

administrator   ~14162

ok, checked it. IMHO that is not a bug because you are showing two fields in your question text:

Kunt u (kort) toelichten waarom voor u {INSERTANS:49391X155X352} {INSERTANS:49391X155X352other} meest hinderlijke geluid is? Of te wel, waarom is dit geluid voor uw hinderlijker dan de andere geluiden?

Issue History

Date Modified Username Field Change
2011-01-25 12:24 user11248 New Issue
2011-01-26 23:45 c_schmitz Note Added: 13988
2011-01-26 23:45 c_schmitz Assigned To => c_schmitz
2011-01-26 23:45 c_schmitz Status new => feedback
2011-01-31 16:43 Mazi File Added: limesurvey_survey_93962-OTHER.lss
2011-01-31 16:43 Mazi File Added: other1.PNG
2011-01-31 16:43 Mazi File Added: other2.PNG
2011-01-31 16:44 Mazi Note Added: 14016
2011-02-01 14:29 user11248 File Added: question.png
2011-02-01 14:29 user11248 File Added: Answer.png
2011-02-01 14:33 user11248 Note Added: 14027
2011-02-01 14:33 user11248 Status feedback => assigned
2011-02-01 17:39 Mazi Note Added: 14031
2011-02-01 17:39 Mazi Status assigned => feedback
2011-02-02 11:31 user11248 Note Added: 14036
2011-02-02 11:31 user11248 Status feedback => assigned
2011-02-02 12:36 Mazi Note Added: 14037
2011-02-02 13:06 user11248 File Added: limesurvey_survey_49391.lss
2011-02-02 13:08 user11248 Note Added: 14040
2011-02-02 13:56 Mazi Note Added: 14041
2011-02-02 14:02 user11248 Note Added: 14042
2011-02-09 16:05 Mazi Summary other variable replacement field => GSoC - other variable replacement field
2011-02-11 18:35 c_schmitz Note Added: 14154
2011-02-11 18:35 c_schmitz Status assigned => feedback
2011-02-11 19:04 user11248 Note Added: 14155
2011-02-11 19:04 user11248 Status feedback => assigned
2011-02-11 19:15 c_schmitz Note Added: 14156
2011-02-11 19:18 user11248 Note Added: 14157
2011-02-11 21:48 c_schmitz Note Added: 14162
2011-02-11 21:48 c_schmitz Status assigned => closed
2011-02-11 21:48 c_schmitz Resolution open => no change required
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing