Bug 1222584

Summary: 3.6: user portal and webadmin login pages are not displayed for IE8, javascript exception occurs
Product: [Retired] oVirt Reporter: Einav Cohen <ecohen>
Component: ovirt-engine-webadminAssignee: Greg Sheremeta <gshereme>
Status: CLOSED NEXTRELEASE QA Contact: Nobody <nobody>
Severity: high Docs Contact:
Priority: high    
Version: 3.6CC: bugs, ecohen, gklein, lsurette, mgoldboi, pnovotny, rbalakri, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ux
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-28 14:38:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Einav Cohen 2015-05-18 14:50:56 UTC
on ~latest master: when attempting to access either the user-portal or the web-admin login pages, the displayed page is blank and a javascript error/exception occurs:

---
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Timestamp: Mon, 18 May 2015 14:26:28 UTC


Message: Object doesn't support this property or method
Line: 4
Char: 6105
Code: 0
URI: http://10.18.57.195:8080/ovirt-engine/userportal/theme/00-ovirt.brand/patternfly/components/jquery/jquery.min.js


Message: Bootstrap's JavaScript requires jQuery
Line: 6
Char: 31
Code: 0
URI: http://10.18.57.195:8080/ovirt-engine/userportal/theme/00-ovirt.brand/patternfly/components/bootstrap/dist/js/bootstrap.min.js


Message: 'jQuery' is undefined
Line: 1
Char: 31
Code: 0
URI: http://10.18.57.195:8080/ovirt-engine/userportal/theme/00-ovirt.brand/patternfly/js/patternfly.min.js


Message: Object expected
Line: 1
Char: 1
Code: 0
URI: http://10.18.57.195:8080/ovirt-engine/userportal/theme/00-ovirt.brand/mousetrack.js


Message: 'fn' is null or not an object
Line: 112375077
Char: 25196
Code: 0
URI: http://10.18.57.195:8080/ovirt-engine/userportal/?locale=en_US


Message: Object doesn't support this property or method
Line: 5627
Char: 27
Code: 0
URI: http://10.18.57.195:8080/ovirt-engine/userportal/0878AC0D62A32C256BC221ADF57BC918.cache.html
---

see http://i.imgur.com/5CQ7rr8.png. 

note: even though IE8 will not be a Tier-1-"supported" browser (see bug 1188229 and related BZs for more details), still worth looking into the issue and/or make sure that other browsers are not affected as well.

Comment 1 Einav Cohen 2015-05-18 14:53:50 UTC
we have had patternfly-related issues with IE8 before (bug 1152656, bug 1152646) which were fixed in 3.5 with patch https://gerrit.ovirt.org/#/c/34524/.

Comment 2 Greg Sheremeta 2015-05-20 15:25:51 UTC
The issue is in PatternFly: https://github.com/patternfly/patternfly/issues/70

The workaround is to include the correct jquery manually.

Comment 3 Greg Sheremeta 2015-05-20 15:26:26 UTC
This is also an IE8-only issue.

Comment 4 Greg Sheremeta 2015-05-22 13:26:44 UTC
Instead of doing a workaround, we'll just wait for a new release of PatternFly. https://github.com/patternfly/patternfly/issues/70 has been closed. I'll close this bug when it's released.

Comment 5 Greg Sheremeta 2015-05-28 14:38:07 UTC
Correction -- since jQuery is an explicit dependency, we should include it ourselves instead of relying on PatternFly's copy.

Since IE8 is not supported in oVirt 3.6, closing without QE verification. This is just a nice-to-have.