Bug 1278456
Summary: | WebUI:VMRC: Windows: Firefox and IE throws "TypeError: $.browser is undefined" error | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Ramesh A <rananda> | ||||
Component: | UI - OPS | Assignee: | Martin Hradil <mhradil> | ||||
Status: | CLOSED ERRATA | QA Contact: | Ramesh A <rananda> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 5.5.0 | CC: | hkataria, jhardy, mhradil, mpovolny, obarenbo, simaishi | ||||
Target Milestone: | GA | ||||||
Target Release: | 5.5.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | 5.5.0.11 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-12-08 13:44:38 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: | |||||
Embargoed: | |||||||
Attachments: |
|
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/0761a145421292b8322acab7016af20574c43393 commit 0761a145421292b8322acab7016af20574c43393 Author: Martin Hradil <mhradil> AuthorDate: Fri Nov 6 15:19:15 2015 +0000 Commit: Martin Hradil <mhradil> CommitDate: Mon Nov 9 13:57:29 2015 +0000 console_vmrc - use jQuery 1.8.3 ..because in IE, we need to force IE8 mode, which makes modern jQuery incompatible We force 1.8 which is the last one to contain $.browser, used there. https://bugzilla.redhat.com/show_bug.cgi?id=1278456 app/views/vm_common/console_vmrc.html.haml | 3 ++- vendor/assets/javascripts/jquery-1.8.3.min.js | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 vendor/assets/javascripts/jquery-1.8.3.min.js New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=c49e3fe2a6f88d25f5cb89305e4d5a387fd19c7c commit c49e3fe2a6f88d25f5cb89305e4d5a387fd19c7c Author: Martin Hradil <mhradil> AuthorDate: Fri Nov 6 15:19:15 2015 +0000 Commit: Martin Hradil <mhradil> CommitDate: Wed Nov 11 16:10:21 2015 +0000 console_vmrc - use jQuery 1.8.3 ..because in IE, we need to force IE8 mode, which makes modern jQuery incompatible We force 1.8 which is the last one to contain $.browser, used there. https://bugzilla.redhat.com/show_bug.cgi?id=1278456 (cherry picked from commit 0761a145421292b8322acab7016af20574c43393) app/views/vm_common/console_vmrc.html.haml | 3 ++- vendor/assets/javascripts/jquery-1.8.3.min.js | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 vendor/assets/javascripts/jquery-1.8.3.min.js New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=fec3d10849a43548231c4b4b04550bf1b11f3d5d commit fec3d10849a43548231c4b4b04550bf1b11f3d5d Merge: fa2e637 1b85879 Author: Dan Clarizio <dclarizi> AuthorDate: Wed Nov 11 13:22:52 2015 -0500 Commit: Dan Clarizio <dclarizi> CommitDate: Wed Nov 11 13:22:52 2015 -0500 Merge branch 'console-vmrc-55' into '5.5.z' console_vmrc - replace $.browser dependent event handler attachment with jQuery and fix bad js escape [PR#5312](https://github.com/ManageIQ/manageiq/pull/5312) fixes 2 bugs: https://bugzilla.redhat.com/show_bug.cgi?id=1278456 https://bugzilla.redhat.com/show_bug.cgi?id=1278459 clean cherry pick See merge request !410 app/views/vm_common/console_vmrc.html.haml | 10 ++++++---- vendor/assets/javascripts/jquery-1.8.3.min.js | 2 ++ 2 files changed, 8 insertions(+), 4 deletions(-) Good to go. Verified and working fine in 5.5.0.11-rc1.20151117182049_653c0d4 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:2551 |
Created attachment 1090103 [details] Win-FF-and-IE Description of problem: "TypeError: $.browser is undefined" error is displayed for FF(41.02) and IE(11) browser in Windows vm Version-Release number of selected component (if applicable): 5.5.0.9-beta2.20151102161742_5530c9a How reproducible: 100% Steps to Reproduce: 1. Deploy an appliance 2. Manage v55 3. Navigate to Infrastructure ==> Virtual Machines ==> Select an virtual machine and click on the vmrc link Actual results: "TypeError: $.browser is undefined" error is displayed for FF(41.02) and IE(11) browser in Windows vm. Refer the screenshot for more details Expected results: Should display the vmrc console Additional info: