Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P05
-
Fix Version/s: EE-3.3.0.GA_P05
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ICEfaces EE-3.3.0 maintenance branch r51830, Tomcat 7, all browsers, myfaces 2.1.17. Not an issue with P04 libs.
-
Assignee Priority:P1
-
Workaround Exists:Yes
-
Workaround Description:Set an ID to the <h:head> tag.
Description
Occasionally when deploying a myfaces app to the server and when interacting with certain samples, the following error was seen:
16-Aug-2017 14:15:18.674 SEVERE [http-apr-8080-exec-9] org.icefaces.impl.util.DOMUtils.nodeDiff Diff propagated to root but no ID set [html: null]
In the case of fajax, scopes and elementUpdate apps, several tests fail because the first click of a button is not registered with a count increment and causes the above error. The next click is registered and incremented properly. This causes a counter to go from 0 to 2.
To reproduce:
Build the Scopes app with Dmyfaces=true.
Open the application scope test.
Click the '+' button once. The counter remains at 0 and the error can be seen in the server log.
Click the '+' button again. The counter is increased to 2.
16-Aug-2017 14:15:18.674 SEVERE [http-apr-8080-exec-9] org.icefaces.impl.util.DOMUtils.nodeDiff Diff propagated to root but no ID set [html: null]
In the case of fajax, scopes and elementUpdate apps, several tests fail because the first click of a button is not registered with a count increment and causes the above error. The next click is registered and incremented properly. This causes a counter to go from 0 to 2.
To reproduce:
Build the Scopes app with Dmyfaces=true.
Open the application scope test.
Click the '+' button once. The counter remains at 0 and the error can be seen in the server log.
Click the '+' button again. The counter is increased to 2.
Historically this type of issue has been caused by a lack of IDs on DOM elements to enable dom-diffing at lower than the root level.