ICEfaces
  1. ICEfaces
  2. ICE-9396

ace:comboBox > JS errors when interacting with component with itemDisabled=true

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 4.0.BETA, 4.0
    • 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

        Activity

        Cruz Miraback created issue -
        Cruz Miraback made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Ken Fyten made changes -
        Affects Version/s 3.3 [ 10370 ]
        Affects Version/s 3.4 [ 10770 ]
        Assignee Priority P2 [ 10011 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36631 Wed Jul 10 17:56:10 MDT 2013 art.zambrano ICE-9396 added check to avoid processing items that are disabled when filtering results
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/combobox/combobox.js
        Hide
        Arturo Zambrano added a comment -

        Committed fix at revision 36631. Added a check to avoid processing disabled items when filtering results.

        Show
        Arturo Zambrano added a comment - Committed fix at revision 36631. Added a check to avoid processing disabled items when filtering results.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Cruz Miraback
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: