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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: