Details
-
Type: Bug
-
Status: Closed
-
Priority: 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.
<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
- is duplicated by
-
ICE-8058 Null Event Source caused bridge to stop working
- Closed
I get the same error when the action of an ice:inputText is triggered
<ice:inputText styleClass="input_pieces"
{mainpageManager.addSpecificSearchItemToOrder}"action="#
value="#{mainpageManager.dataStorage.specificSearchResult.piecesOrdered}"
binding="#{mainpageManager.focusManager.searchInputFastPieces}"
onfocus="this.select();"/>
When I use the command link there's no problem:
<ice:commandLink action="#{mainpageManager.addSpecificSearchItemToOrder}
" accesskey="n">
<ice:graphicImage style="border:none;" value="./_img/warenkorb.gif"/>
</ice:commandLink>
Result: the page is frozen and doesn't react on any user input (mouse or keyboard) until a page refresh is done.
console error: if (source.id != retrieveUpdateFormID(viewIDOf(source))) {
source is null
http://.../faces/javax.faces.resource/bridge.js?v=1479079157
Line 1893
I haven't had any problems with this before.