Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-2.0.0.GA, 2.0.2, EE-1.8.2.GA_P03
-
Fix Version/s: 2.1-Beta, 3.0, EE-1.8.2.GA_P04, EE-2.0.0.GA_P01
-
Component/s: ICE-Components
-
Labels:None
-
Environment:IE7/8
-
Assignee Priority:P1
Description
-
Hide
- Case10256Example.war
- 6.63 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../example/Item.class 1 kB
- WEB-INF/classes/.../example/TestBean.class 1 kB
- WEB-INF/faces-config.xml 0.7 kB
- WEB-INF/lib/FastInfoset.jar 285 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-discovery.jar 75 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/lib/commons-lang.jar 240 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/icefaces-comps.jar 1.75 MB
- WEB-INF/lib/icefaces-facelets.jar 596 kB
- WEB-INF/lib/icefaces.jar 1.22 MB
- WEB-INF/lib/jsf-api-1.2.jar 355 kB
- WEB-INF/lib/jsf-impl-1.2.jar 837 kB
- WEB-INF/web.xml 4 kB
- plainPage.xhtml 2 kB
- welcomeICEfaces.xhtml 3 kB
-
- outofmemoryIE8.JPG
- 7 kB
-
- stackoverflowIE7.JPG
- 7 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Using hideOn="mouseout" seems to work fine.
The new Prototype 1.7 library seems to be using a simplified test for the existence of the event handlers in Event.stopObserving function:
Prototype 1.6.* -> if (Object.isUndefined(handler)) { ...
Prototype 1.7 -> if (!handler) { ...
When this function is called on page unload to clear the cached handlers (PrototypeJS code) it calls itself recursively when invoked without parameters. The stack overflow occurs when the handler passed in, when Event.observe method is invoked by the tooltip JS code, is the empty string. Event.stopObserving will evaluate it to false and go into an infinite recursive loop.
The fix modifies tooltip JS code to associate a no-op handler instead of '' when using 'none' tooltip configuration to conform to the type of tests Prototype 1.7 is using in Event.stopObserving function.
Applied fix to ICEfaces 2 trunk and maintenance branch.
Attached screen shots of errors and test case. The test case has two pages, plainPage.xhtml will reproduce the error.
Steps to reproduce issue:
It doesn't seem to matter if the tooltip is closed or open, it throws the error after its been shown.