View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06439Bug reportsSurvey takingpublic2012-08-08 13:55
Reporteruser18271Assigned ToTMSWhite  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary06439: Question type Array (numbers) does not work with numbers >10 as labels
Description

array (numbers) questions which depend on an array_filter do not work correctly if codes are numbers (1..15) instead og strings (L001..L015).
Values > 10 are irgnored.

Steps To Reproduce

load attached study, fill first question EXCEPT the very first checkbox.
go to second question. fill one col completely. go ahead to next question - go back and see, that only codes <10 have been stored in Session.
--> see screenshots.

TagsNo tags attached.
Attached Files
1.png (18,213 bytes)   
1.png (18,213 bytes)   
2.png (33,468 bytes)   
2.png (33,468 bytes)   
3.png (35,304 bytes)   
3.png (35,304 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)120801
I will donate to the project if issue is resolvedYes
BrowserFF 14.0.1 but also with Mac, Google Chrome
Database type & version5.5 mysql
Server OS (if known)ubuntu 12.04
Webserver software & version (if known)apache2
PHP Version5.3.10-1ubuntu3.2

Users monitoring this issue

There are no users monitoring this issue.

Activities

user18271

2012-08-06 17:26

  ~20230

sorry, summary should be:
Question type Array (numbers) does not work with numbers >10 as answer_codes.

Mazi

Mazi

2012-08-06 18:28

updater   ~20232

I can reproduce this problem. Seems to be related to how EM handles answer codes of different length.

TMSWhite

TMSWhite

2012-08-07 15:36

reporter   ~20246

I can also reproduce the problem. Seems to a problem with how EM validates Array (number) questions, because the > 10 ones are being incorrectly flagged as invalid.

TMSWhite

TMSWhite

2012-08-08 07:51

reporter   ~20271

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

TMSWhite

TMSWhite

2012-08-08 07:55

reporter   ~20272

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

Related Changesets

LimeSurvey: master 170df62d

2012-08-07 22:51:43

TMSWhite

Details Diff
Fixed issue 06439: Question type Array (numbers) does not work with numbers >10 as labels Affected Issues
06439
mod - classes/expressions/LimeExpressionManager.php Diff File

LimeSurvey: Yii 7a7a50ce

2012-08-07 22:55:44

TMSWhite

Details Diff
Fixed issue 06439: Question type Array (numbers) does not work with numbers >10 as labels Affected Issues
06439
mod - application/helpers/expressions/em_manager_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-08-06 17:23 user18271 New Issue
2012-08-06 17:23 user18271 File Added: limesurvey_survey_56471.lss
2012-08-06 17:23 user18271 File Added: 1.png
2012-08-06 17:23 user18271 File Added: 2.png
2012-08-06 17:24 user18271 File Added: 3.png
2012-08-06 17:26 user18271 Note Added: 20230
2012-08-06 18:28 Mazi Assigned To => TMSWhite
2012-08-06 18:28 Mazi Status new => assigned
2012-08-06 18:28 Mazi Note Added: 20232
2012-08-07 15:36 TMSWhite Note Added: 20246
2012-08-08 07:51 TMSWhite Changeset attached => LimeSurvey master 170df62d
2012-08-08 07:51 TMSWhite Note Added: 20271
2012-08-08 07:51 TMSWhite Resolution open => fixed
2012-08-08 07:55 TMSWhite Changeset attached => LimeSurvey Yii 7a7a50ce
2012-08-08 07:55 TMSWhite Note Added: 20272
2012-08-08 07:56 TMSWhite Status assigned => resolved
2012-08-08 07:56 TMSWhite Fixed in Version => 1.92+
2012-08-08 13:55 c_schmitz Status resolved => closed