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

          Patrick Mingard created issue -
          Stefan Greiner made changes -
          Field Original Value New Value
          Link This issue depends on ICE-8058 [ ICE-8058 ]
          Stefan Greiner made changes -
          Link This issue depends on ICE-8058 [ ICE-8058 ]
          Stefan Greiner made changes -
          Link This issue is duplicated by ICE-8058 [ ICE-8058 ]
          Stefan Greiner made changes -
          Comment [ seems to be the same for me ]
          Ken Fyten made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 3.1 [ 10312 ]
          Fix Version/s 3.1.0.BETA1 [ 10335 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: