Bug 793059 (JBEPP-141)

Summary: JBPORTAL-2460: Mouse over effect in Admin portlet does not work with IE8
Product: [JBoss] JBoss Enterprise Portal Platform 4 Reporter: Martin Weiler <mweiler>
Component: PortalAssignee: Thomas Heute <theute>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3.0.GA_CP2CC: epp-bugs
Target Milestone: ---   
Target Release: 4.3.0.GA_CP3   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-141
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-02 09:43:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Weiler 2009-10-16 12:30:51 UTC
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/353489
Workaround Description: in jboss-portal.sar/portal-core.war/js/tooltip/domLib.js:

replace: 
var domLib_isIE = (!domLib_isKHTML && !domLib_isOpera && (domLib_userAgent.indexOf('msie 5') != -1 || domLib_userAgent.indexOf('msie 6') != -1 || domLib_userAgent.indexOf('msie 7') != -1));

with:
var domLib_isIE = (!domLib_isKHTML && !domLib_isOpera && (domLib_userAgent.indexOf('msie 5') != -1 || domLib_userAgent.indexOf('msie 6') != -1 || domLib_userAgent.indexOf('msie 7') != -1 || domLib_userAgent.indexOf('msie 8') != -1));

project_key: JBEPP

* How to reproduce a behavior
(1) Login as admin
(2) Click "Dashboard" on top of right side
(3) Click "Configure dashboard" on top of right side
(4) Mouse over to portlet name (e.g. Administration portlet) in the "Portlet instance associated to this window"
(5) When customer browsed with other than IE8 (e.g. firefox), a pop-up display which explains "Portlet name" and "Portlet description" appears. When customer browsed with IE8, nothing appears.

Comment 1 Martin Weiler 2009-10-16 12:32:07 UTC
userAgent check in domLib.js is not considering IE8, patch:

[mputz@mputz Enterprise_Portal_Platform_4_3_GA_CP01]$ svn diff core/src/bin/portal-core-war/js/tooltip/domLib.js
Index: core/src/bin/portal-core-war/js/tooltip/domLib.js
===================================================================
--- core/src/bin/portal-core-war/js/tooltip/domLib.js (revision 13470)
+++ core/src/bin/portal-core-war/js/tooltip/domLib.js (working copy)
@@ -50,7 +50,7 @@
var domLib_isKonq = domLib_userAgent.indexOf('konqueror') != -1;
// Both konqueror and safari use the khtml rendering engine
var domLib_isKHTML = (domLib_isKonq || domLib_isSafari || domLib_userAgent.indexOf('khtml') != -1);
-var domLib_isIE = (!domLib_isKHTML && !domLib_isOpera && (domLib_userAgent.indexOf('msie 5') != -1 || domLib_userAgent.indexOf('msie 6') != -1 || domLib_userAgent.indexOf('msie 7') != -1));
+var domLib_isIE = (!domLib_isKHTML && !domLib_isOpera && (domLib_userAgent.indexOf('msie 5') != -1 || domLib_userAgent.indexOf('msie 6') != -1 || domLib_userAgent.indexOf('msie 7') != -1 || domLib_userAgent.indexOf('msie 8') != -1));
var domLib_isIE5up = domLib_isIE;
var domLib_isIE50 = (domLib_isIE && domLib_userAgent.indexOf('msie 5.0') != -1);
var domLib_isIE55 = (domLib_isIE && domLib_userAgent.indexOf('msie 5.5') != -1);

Comment 2 Martin Weiler 2009-10-16 12:32:23 UTC
Link: Added: This issue depends JBPORTAL-2460