Bug 1293588

Summary: JavaScript error in ssbrowser.html - TypeError: Cannot read property 'mozilla' of undefined
Product: Red Hat Enterprise Linux 6 Reporter: Petr Vobornik <pvoborni>
Component: ipaAssignee: Pavel Picka <ppicka>
Status: CLOSED ERRATA QA Contact: Namita Soman <nsoman>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.7CC: ksiddiqu, ppicka, rcritten, salmy
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ipa-3.0.0-50.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-11 00:08:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screen none

Description Petr Vobornik 2015-12-22 09:57:07 UTC
User-Agent:       Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0
Build Identifier: 

Fix for bug 1166241 introduced regression. The fix upgraded jQuery. In the new version of jQuery some functionality was removed. To be backwards compatible, jquery-migrate.js needs to be used. It's done in Web UI but not in configuration files like:
  install/html/ssbrowser.html
  install/html/browserconfig.html

the files above should contain line:
<script type="text/javascript" src="../ui/jquery-migrate.js"></script> 

Reproducible: Always

Steps to Reproduce:
1. open http://test.example.com/ipa/config/ssbrowser.html (alternatively, open Web UI, click on "configure browser", manual configuration.
2. open http://test.example.com/ipa/config/browserconfig.html
Actual Results:  
Browser detection doesn't work. browserconfig.html display all steps for Firefox regardless of actual state or brower.

ssbrowser.html doesn't display domain.

Expected Results:  
ssbrowser.html displays domain. browserconfig.html displays configuration according to browser type and version.

Comment 3 Pavel Picka 2016-03-03 09:49:35 UTC
Created attachment 1132705 [details]
screen

Verified 
ipa-3.0.0-50.el6

Comment 5 errata-xmlrpc 2016-05-11 00:08:55 UTC
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://rhn.redhat.com/errata/RHBA-2016-0874.html