View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06035Bug reportsSurvey editingpublic2012-05-01 11:56
Reporterxapt Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary06035: Insertans not working in multiple options with comments
Description

An example of the survey design:

I have two questions:

Following question with the survey ID 44577, group ID 5 and question ID 181.

1) With which companies you already used social media to get in touch with?

[ ] 1. <comment field>
[ ] 2. <comment field>
[ ] 3. <comment field>

2) How happy was you with the communication of thus companies ( {INSERTANS:44577X5X181SQ001comment} {INSERTANS:44577X5X181SQ002comment} {INSERTANS:44577X5X181SQ001comment} )

( ) very happy
( ) not happy at all

In the case above, if the participant choose 1. in the first question, and put in some comment on it, the INSERTANS returns nothing. If I use {INSERTANS:44577X5X181SQ001} it returns "1." (as it should), but if I use the same with the "comment" it just returns nothing.

Steps To Reproduce

Create survey with both questions above, try to put the choise of the first question in the second question with {INSERTANS:SXGXQXSQ001comment}, choose first option in the first question and put in some comment, and wait for nothing to show up in the second question.

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)120418
I will donate to the project if issue is resolvedNo
BrowserTested in IE 8.0, FF11
Database type & versionMysql 5.1.49
Server OS (if known)Linux infong 2.4 #1 SMP Tue Jan 17 02:58:41 UTC 2012 i686 GNU/Linux
Webserver software & version (if known)Apache
PHP Version5.2.17

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-04-20 12:14

administrator   ~18448

I can't reproduce. Can you please attach a small sample survey?

xapt

xapt

2012-04-20 12:38

reporter   ~18449

Hello, testsurvey attached.

c_schmitz

c_schmitz

2012-04-20 13:41

administrator   ~18452

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

c_schmitz

c_schmitz

2012-04-20 13:41

administrator   ~18453

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=8210

xapt

xapt

2012-04-20 13:48

reporter   ~18454

Thank you very much! That was very fast.

c_schmitz

c_schmitz

2012-05-01 11:56

administrator   ~18517

New 1.92+ build released

Related Changesets

LimeSurvey: master b92a1d97

2012-04-20 04:41:18

c_schmitz

Details Diff
Fixed issue 06035: Insertans not working in multiple options with comments Affected Issues
06035
mod - classes/expressions/LimeExpressionManager.php Diff File

LimeSurvey: Yii 0e69577d

2012-04-20 04:41:31

c_schmitz

Details Diff
Fixed issue 06035: Insertans not working in multiple options with comments Affected Issues
06035
mod - application/helpers/expressions/em_manager_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-04-20 11:54 xapt New Issue
2012-04-20 12:14 c_schmitz Note Added: 18448
2012-04-20 12:14 c_schmitz Assigned To => c_schmitz
2012-04-20 12:14 c_schmitz Status new => feedback
2012-04-20 12:38 xapt File Added: testsurvey_bug_comment1.lss
2012-04-20 12:38 xapt Note Added: 18449
2012-04-20 12:38 xapt Status feedback => assigned
2012-04-20 13:41 c_schmitz Changeset attached => LimeSurvey master b92a1d97
2012-04-20 13:41 c_schmitz Note Added: 18452
2012-04-20 13:41 c_schmitz Resolution open => fixed
2012-04-20 13:41 c_schmitz Changeset attached => LimeSurvey Yii 0e69577d
2012-04-20 13:41 c_schmitz Note Added: 18453
2012-04-20 13:42 c_schmitz Status assigned => resolved
2012-04-20 13:42 c_schmitz Fixed in Version => 1.92+
2012-04-20 13:48 xapt Note Added: 18454
2012-05-01 11:56 c_schmitz Note Added: 18517
2012-05-01 11:56 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing