Bug 891876
| Summary: | JON login screen does not appear in IE9 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Sunil Kondkar <skondkar> | ||||||||||
| Component: | UI | Assignee: | RHQ Project Maintainer <rhq-maint> | ||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||||||||
| Severity: | high | Docs Contact: | |||||||||||
| Priority: | high | ||||||||||||
| Version: | JON 3.1.2 | CC: | jkremser, mithomps, myarboro, skondkar, tsegismo, vnguyen | ||||||||||
| Target Milestone: | ER02 | ||||||||||||
| Target Release: | JON 3.2.0 | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Windows | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2014-01-02 20:35:17 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: | |||||||||||||
| Bug Depends On: | |||||||||||||
| Bug Blocks: | 1012435 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Sunil Kondkar
2013-01-04 10:39:48 UTC
Created attachment 672353 [details]
Screenshot
Additional Info: Tested after clearing the cache in IE9, still it does not display the login screen on JON 3.1.2.CR1 build. I have recently tested JON 3.1.2 with IE9 without problems. If there was a problem with 3.1.2 CR1 build, it has been fixed before the GA. IE9 should still work in 3.2, so I don't close the BZ to let QE verify on ER2 I saw the same behavior when the coregui was not compiled for IE8/9. Can you please check if the
rhq-server-4.9.0/modules/org/rhq/server-startup/main/deployments/rhq.ear/coregui.war/org.rhq.core.RHQDomain/org.rhq.core.RHQDomain.nocache.js file
contains this string
"return ua.indexOf('msie') != -1 && $doc_0.documentMode >= 9;"
?
If the string is not there, it means it wasn't compiled for IE (that's what our rhq-master jenkins job by default does to speed things up).
This bug is no more reproducible on JBoss ON 3.2 ER1 build.
IE9 version: 9.0.8112.16421
The file:
jon-server-3.2.0.ER1/modules/org/rhq# vi server-startup/main/deployments/rhq.ear/coregui.war/org.rhq.core.RHQDomain/org.rhq.core.RHQDomain.nocache.js
has below string:
return ua.indexOf('msie') != -1 && $doc_0.documentMode >= 9;
Login screen appears on IE9.
Tested on JBoss ON 3.2 ER2 build.
The file: '/jon-server-3.2.0.ER2/modules/org/rhq/server-startup/main/deployments/rhq.ear/coregui.war/org.rhq.core.RHQDomain/org.rhq.core.RHQDomain.nocache.js' has below line.
return ua.indexOf('msie') != -1 && $doc_0.documentMode >= 9;
However, I observed that on entering JON URL in IE 9 browser( http://<IP>:7080 ) , it displays a screen with EAP6 notification. Please find attached the screenshot for the same.
If I extend the URL with coregui, the login screen appears successfully.
( Ex: http://<IP>:7080/coregui )
Additional info: This issue does not exist on JBoss ON 3.2 ER1 build.
IE 9 version: 9.0.8112.16421
Created attachment 805122 [details]
Screenshot_LoginScreen_EAP6-Notification
The EAP6 notification is correct behavior. I've introduced it when working on bug 1000065. It should redirect the user to /coregui once the back-end is up and running (or display an error if start up failed). Wasn't able to replicate it using the IE 9.0.8112.16421, Win 7 (provided by browserstack.com) on current master (4.10.0-SNAPSHOT (02ed9c403)). Verified on Version: 3.2.0.ER3 Build Number: c0742ed:cbad264 The redirection issue is no more reproducible on IE9. The JON URL in IE 9 browser( http://<IP>:7080 ) redirects to coregui and login screen appears. The login is successful on IE9. I was going to file a bug then saw this. As of ER5 I couldn't get to the login screen (ip:7080 or :7080/coregui) with IE9 w2008 64 or 32 bit. ok. if this is reproducible, it is blocking for GA. QE has an IE9/Charts/Alert Test Day planned for next week with ER6 ...and i am adding this as something for everyone in QE to check so we get more datapoints. but if it is not working in ER5 ... this is flat out blocking. this a crystal clear PRD requirement BR.002 based on comment #16 ... this has to be resolved prior to GA. re-opening ...and adding to the JON 3.2 blocker. this a crystal clear PRD requirement BR.002 Can someone with IE9, Windows2008 SP2 (64 and 32 bit) confirm this? My windows VMs are running on VirtualBox, OS X 10.8.5. I could not get 3.1.2.GA, ER3, ER5 to load. ok ... this is the documented TCMS testcase run from ER5 ...which includes IE9 qualification https://tcms.engineering.redhat.com/run/96679/ i am going to make this ON_QA .... to hopefully clarify this. non-blocking for ER6. ON_QA for retest I have a Windows 2008 R2 64 bit vm with IE9. Verified on JON 3.2 ER5. The JON URL in IE 9 browser( http://<IP>:7080 ) redirects to coregui and login screen appears. Hi, I have a Windows 2008 R2 64 bit vm with IE 9 . JON Login is working on IE9 for JON3.2 ER5. Double checked the test case and it is working on ER5. Regards, Sunil I found out what preventing my IE from loading JON login page. By default IE was in "stealth" mode - disabling access to JS until I whitelisted JON server IP (Internet options -> Security tab -> Local intranet -> Sites -> add @Stefan had an idea to add a fallback on the html page to detect if javascript is enabled and show some kind of message if it is not. Good idea, I can do it. "<noscript>" tag should do the work, no rocket science is needed. Created attachment 829878 [details]
message if the JS is disabled 1
Created attachment 829879 [details] message if the JS is disabled 2 branch: release/jon3.2.x link: http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=20dffd6fe time: 2013-11-27 19:47:46 +0100 commit: 20dffd6feddcf0edff534d4e46e4912829d793ba author: Jirka Kremser - jkremser message: [BZ 891876] - JON login screen does not appear in IE9 - adding the 'noscript' element that will show the warning if the browser has the JavaScript disabled. |