View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06267Bug reportsSurvey takingpublic2012-07-05 22:16
ReporterTMSWhite Assigned ToTMSWhite  
PrioritylowSeverityminor 
Status closedResolutionfixed 
Product Version2.00RC4 
Fixed in Version1.92+ 
Summary06267: array_filter of ranking question does not work in Chrome and IE
Description

Works OK in Mozilla.

Involves calls like $('#javatbd669582X6X200sq1').hide(), where 'javatbd669582X6X200sq1' is of type <option>

Steps To Reproduce

Import docs/demosurveys/ls2_array_filter_tests.lss

Activate survey and test any of the groups. The list of available choices in the ranking questions should change as the filtering question (first one on the page for each group) changes.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)120624
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.3
Server OS (if known)Windows XP
Webserver software & version (if known)XAMPP
PHP Version5.3

Relationships

related to 06239 closedTMSWhite Ranking style questions can't be used to filter other questions 

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-06-22 23:21

reporter   ~19492

Last edited: 2012-06-22 23:22

Using Chrome FireBug, can set options to disabled (which adds "style='display:none;'", but Chrome doesn't then hide the <option> node.

However, $('#javatbd669582X6X214sq1').attr('disabled','disabled') does work in Chrome.

c_schmitz

c_schmitz

2012-06-22 23:50

administrator   ~19502

IMHO this is a design flaw by itself - array filter should never have been extended to ranking questions because in general hiding options is NOT cross-browser compatible and no official HTML feature.

I am not sure why it made its way into 1.92+ at all because it is considered to be a new feature. ( 06239 )

So please either revert this, or 'hide' options by moving them out of the select box to an invisible box and back if needed.

TMSWhite

TMSWhite

2012-06-23 00:25

reporter   ~19512

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

c_schmitz

c_schmitz

2012-07-05 22:16

administrator   ~19629

New 1.92+ version released.

Related Changesets

LimeSurvey: master 2e705b7a

2012-06-22 15:20:44

TMSWhite

Details Diff
Fixed issue Array filter of ranking does not work reliably across browsers
Dev Disabling this feature.
Affected Issues
06267
mod - classes/expressions/LimeExpressionManager.php Diff File
mod - common_functions.php Diff File

LimeSurvey: Yii 3220c985

2012-06-22 15:24:59

TMSWhite

Details Diff
Fixed issue 06267: array_filter of ranking question does not work in Chrome and IE
Dev disabled this feature
Affected Issues
06267
mod - application/helpers/common_helper.php Diff File
mod - application/helpers/expressions/em_manager_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-06-22 23:16 TMSWhite New Issue
2012-06-22 23:21 TMSWhite Note Added: 19492
2012-06-22 23:22 TMSWhite Note Edited: 19492
2012-06-22 23:50 c_schmitz Note Added: 19502
2012-06-22 23:50 c_schmitz Relationship added related to 06239
2012-06-22 23:50 c_schmitz Assigned To => TMSWhite
2012-06-22 23:50 c_schmitz Status new => assigned
2012-06-23 00:22 TMSWhite Changeset attached => LimeSurvey master 2e705b7a
2012-06-23 00:22 TMSWhite Status assigned => resolved
2012-06-23 00:22 TMSWhite Fixed in Version => 1.92+
2012-06-23 00:22 TMSWhite Resolution open => fixed
2012-06-23 00:25 TMSWhite Changeset attached => LimeSurvey Yii 3220c985
2012-06-23 00:25 TMSWhite Note Added: 19512
2012-07-05 22:16 c_schmitz Note Added: 19629
2012-07-05 22:16 c_schmitz Status resolved => closed