ICEfaces
  1. ICEfaces
  2. ICE-9639

Regression: JS Errors When Removing Focus From Certain Components

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces3 trunk revision 38556
      All browsers
    • Assignee Priority:
      P1
    • Salesforce Case Reference:

      Description

      There are JS errors occuring when tabbing away (blur) from certain components. I've noticed it with: textEntry, textAreaEntry, autoCompleteEntry, selectMenu, comboBox, and checkboxButton. This is also preventing the ajax events and listeners from firing for textEntry and textAreaEntry.

      In Firefox:
      ReferenceError: setFocus is not defined
      http://localhost:8080/focusManager/javax.faces.resource/util/ace-components.uncompressed.js.jsf?ln=icefaces.ace&v=3_4_0_131008
      Line 2929

      In IE:
      Message: 'setFocus' is undefined
      Line: 2929
      Char: 9
      Code: 0
      URI: http://localhost:8080/focusManager/javax.faces.resource/util/ace-components.uncompressed.js.jsf?ln=icefaces.ace&v=3_4_0_131008

        Activity

        Hide
        Mircea Toma added a comment -

        Applying focus to the first or the specified component only when 'ice.focus' parameter is missing, thus making sure to not interfere at all with the focus retention feature.

        Show
        Mircea Toma added a comment - Applying focus to the first or the specified component only when 'ice.focus' parameter is missing, thus making sure to not interfere at all with the focus retention feature.
        Hide
        Mircea Toma added a comment -

        Apply setFocus patch to the maintenance branch.

        Show
        Mircea Toma added a comment - Apply setFocus patch to the maintenance branch.
        Hide
        Mircea Toma added a comment -

        Replaced setFocus() function usages with ice.setFocus(). setFocus() function is defined only when any of the compat components are loaded.

        Show
        Mircea Toma added a comment - Replaced setFocus() function usages with ice.setFocus(). setFocus() function is defined only when any of the compat components are loaded.
        Hide
        Liana Munroe added a comment -

        Issue no longer seen on icefaces-ee-3.3.0.GA-maintenance revision #39255.

        Show
        Liana Munroe added a comment - Issue no longer seen on icefaces-ee-3.3.0.GA-maintenance revision #39255.
        Hide
        Kyle Stiemann added a comment -

        A workaround for this issue (as noted in ICE-8444) is to include the icefaces-compat.jar as a dependency.

        Show
        Kyle Stiemann added a comment - A workaround for this issue (as noted in ICE-8444 ) is to include the icefaces-compat.jar as a dependency.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Cruz Miraback
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: