Bug 1222584 - 3.6: user portal and webadmin login pages are not displayed for IE8, javascript exception occurs
Summary: 3.6: user portal and webadmin login pages are not displayed for IE8, javascri...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: 3.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.6.0
Assignee: Greg Sheremeta
QA Contact: Nobody
URL:
Whiteboard: ux
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-18 14:50 UTC by Einav Cohen
Modified: 2016-02-10 19:45 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-28 14:38:07 UTC
oVirt Team: UX
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1152646 0 urgent CLOSED User Portal is not fully rendered in Internet Explorer 8 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1152656 0 urgent CLOSED IE8: Layout is broken on RHEVM welcome page and User Portal login page 2021-02-22 00:41:40 UTC
oVirt gerrit 41228 0 master MERGED userportal, webadmin: include jQuery 1.11.3 Never

Internal Links: 1152646 1152656

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.


Note You need to log in before you can comment on or make changes to this bug.