Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.3
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces3/trunk revision# 36585
All browsers
-
Assignee Priority:P2
Description
When itemDisabled is set to true on a facet generated comboBox there is a JS error when trying to interact with the component:
Firefox:
TypeError: model[i] is null
http://localhost:8080/comboBox/javax.faces.resource/util/ace-components.uncompressed.js.jsf?ln=icefaces.ace&v=3_3_0_130628
Line 12226
IE:
Message: Unable to get property 'toLowerCase' of undefined or null reference
Line: 12226
Char: 4
Code: 0
URI: http://localhost:8080/comboBox/javax.faces.resource/util/ace-components.uncompressed.js.jsf?ln=icefaces.ace&v=3_3_0_130628
To reproduce:
1) Build / deploy test app located at: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Manual/comboBox
2) Navigate to 'ace:comboBox with Facet Generated List'
3) Select the itemDisabled checkbox
4) Click on the comboBox
Firefox:
TypeError: model[i] is null
http://localhost:8080/comboBox/javax.faces.resource/util/ace-components.uncompressed.js.jsf?ln=icefaces.ace&v=3_3_0_130628
Line 12226
IE:
Message: Unable to get property 'toLowerCase' of undefined or null reference
Line: 12226
Char: 4
Code: 0
URI: http://localhost:8080/comboBox/javax.faces.resource/util/ace-components.uncompressed.js.jsf?ln=icefaces.ace&v=3_3_0_130628
To reproduce:
1) Build / deploy test app located at: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Manual/comboBox
2) Navigate to 'ace:comboBox with Facet Generated List'
3) Select the itemDisabled checkbox
4) Click on the comboBox
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Committed fix at revision 36631. Added a check to avoid processing disabled items when filtering results.