Bug 879577

Summary: Ticket-monster demo does not work in IE9 properly
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Karel Piwko <kpiwko>
Component: ErraiAssignee: Marius Bogoevici <mariusb>
Status: CLOSED CURRENTRELEASE QA Contact: Karel Piwko <kpiwko>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.1.0CC: cbrock, ecervena, irooskov, jfuerth, kpiwko, mnovotny, myarboro, pslegr, rruss
Target Milestone: CR2   
Target Release: 2.1.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard: ticket-monster
Fixed In Version: Doc Type: Known Issue
Doc Text:
Race conditions exist in asynchronous resource load of the TicketMonster example. The consequence of this is that using the demo in Internet Explorer 9 browser may cause the page not to render at all. To workaround this issue use an alternate Internet browser.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-30 15:35:13 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:

Description Karel Piwko 2012-11-23 11:28:04 UTC
Description of problem:
Ticket-monster demo does not work in IE 10 properly. 
Requirejs throws loading module timeout error(underscore, backbone) in js console. Refresh is not successful most of the time. Clicking menu links is more reliable. In Chrome works fine.


How reproducible:
Always.

Steps to Reproduce:
1.Deploy TiMo
2.Open url (e.g. http://localhost:8080/ticket-monster
  
Actual results:
Page is blank.

Expected results:
Page works.

Detailed js log:

SCRIPT1002: Syntax error 
utilities.js, line 3 character 5
SCRIPT5007: Unable to get property 'applyTemplate' of undefined or null reference 
router.js, line 45 character 8
SCRIPT5022: Load timeout for modules: order!router text!app/../../templates/desktop/booking-details.html 
http://requirejs.org/docs/errors.html#timeout 
require.js, line 1634 character 9
SCRIPT5022: Load timeout for modules: order!router text!app/../../templates/desktop/booking-details.html 
http://requirejs.org/docs/errors.html#timeout 
require.js, line 1634 character 9

Comment 3 Marius Bogoevici 2012-11-26 13:00:28 UTC
Also:

https://github.com/jboss-jdf/ticket-monster/commit/84478d2090f6dd377ff7f56cb4f3ab7c9114b6e8

Note: issues in IE9 are not caused by race conditions, but by browser incompatibilities

Comment 5 Karel Piwko 2012-11-26 15:37:34 UTC
Verified that fix completely fixed TiMo behavior in IE9.

Comment 7 Karel Piwko 2012-11-27 12:02:40 UTC
Verified TiMo works with WFK 2.1.0.CR2 TiMO rebuild correctly with IE10.

Comment 8 Karel Piwko 2012-11-27 12:03:37 UTC
Verified TiMo works with WFK 2.1.0.CR2 TiMO rebuild correctly with IE9.

Comment 9 Karel Piwko 2012-11-30 15:35:13 UTC
Distributed as a part of WFK 2.1.0.GA release.