ICEfaces
  1. ICEfaces
  2. ICE-7993

JS error in bridge.js when submitting a form with the "enter" key

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1.0.BETA1, 3.1
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      IceFaces 3.0.1 with JBoss 7.1.X (tested on both 7.1.0 and 7.1.1), IE8 and FF 10 both showing the same behavior.

      Description

      My page has two forms. The first contains all major input forms. The second serves for small pop-up forms for intermediate choices. Here is the big-picture of my IceFaces page :

      <h:body>
      <ice:form id="contentform">
                       <!-- the main form of the page -->
              </ice:form>
      <ice:form id="popupform">
      <ice:panelPopup visible="#{popUpBean.displayed}">
                              <!-- the content of the pop-up form -->
      </ice:panelPopup>
      </ice:form>
      </h:body>

      When submitting a form with the "enter" key, an error in bridge.js appears. Firefox debug console states :

      Erreur : source is null
      Fichier Source : http://localhost:8080/prest_webgui/javax.faces.resource/bridge.js.jsf?v=11143217
      Ligne : 1893

      The consequence of the error is a complete freeze of the screen. The complete page becomes entirely dead, no action is further performed. The only way of unlocking the web page is to fully refresh the page with an F5 key press.

      This seems to happens in both forms (contentform and popupform). Not sure if it would acts the same if there was only one form in the page.

      This bug was NOT present in 3.0.0 which behave just fine.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Patrick Mingard
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: