Ticket #2531256 (closed defect)
Reportereinarq |
Opened: 09/29/11 Last modified: 10/19/11 Status: closed Type: defect Resolution: duplicate Duplicate of: #2531310 |
Owner Luke Smith |
Target Release: Priority: P3 (normal) |
|---|---|---|---|
| Summary: | event-resize not working with custom configuration of YUI | ||
| Description: | I am trying to migrate from 3.3.0 to 3.4.1, and getting a few problems. They seem to be related to my custom configuration of YUI. I have previsouly migrated from YUI 2, so using the "normal" pattern The latest problem I found in 3.4.1 is this one related to event-resize when using my custom configuration. If I have use a only seed file initially it works fine, so it seems like most of the Anyway, I get a "Member not found" error in IE 7, which I didn't get before. |
||
| Type: | defect | Observed in Version: | 3.4.1 |
| Component: | Event | Severity: | S3 (normal) |
| Assigned To: | Luke Smith | Target Release: | |
| Location: | Priority: | P3 (normal) | |
| Tags: | Relates To: | ||
| Browsers: | IE 7.x,IE 8.x,IE 9.x | ||
| URL: | |||
| Test Information: | - Open the attachment in IE 7 |
||
Change History
|
Posted: 09/29/11
|
|
Posted: 09/29/11
|
|
Posted: 09/30/11
I was unable to recreate the error locally with a couple different configurations, so you'll need to provide more info on your custom setup. |
|
Posted: 09/30/11
|
|
Posted: 09/30/11
Did you try the one in the attachment? Or do you mean more information about why I have the custom setup that I have included in the attachment? |
|
Posted: 10/5/11
|
|
Posted: 10/5/11
Hi, I tried to track down the problem : event-resize.js >> "new DOMEventFacade(...)" >> DOMEventFacade:init() >> "this.altKey = e.altKey" >> cause IE to throw the "Member not found" error. Here is my quick and dirty fix : https://gist.github.com/1264931 |
|
Posted: 10/6/11
Seemed to me that if I used yui-min.js instead of my custom configuration, everything was fine. That is not an option for me unfortunately, need to preload the essential parts of YUI before doing anything else (legacy application). I am getting a lot of problems when trying to use custom configurations in general (for instance using yui-base instead of yui). |
|
Posted: 10/6/11
|
|
Posted: 10/6/11
Here's an example which manifests itself in IE (only tried 9), but ok in FireFox 3.6... html looks like this (sorry, not sure how to format it nicely here): <html> <body> <script> YUI().use('node', 'event', { YUI().use('node', </script> <p id="windowSize">The browser window has not been resized yet</p> <iframe id="gen-ReportOutputHTMLCntrl" class="ReportOutputHTMLCntrl" src="TestIt-IFrame.html" style="text-align:left;" scrolling='no' frameborder='1' marginheight='0' marginwidth='0'></iframe> </body> Above, I reference "yui340/build/yui/yui.js" as the local YUI libraries. Same problem using 3.4.1. 3.3.0 is ok, so I'm deferring to that for the time-being. The IFRAME is incidental, and the 2nd html sourced by it contains just this: <p id="windowSize-Inner">The browser window has not been changed yet - Inner</p> <div id="myDiv" class="myDivClass"> The purpose of this simple example is to automatically resize the IFRAME as the Browser window resizes. Not sure if that helps, but thought it might be useful info. Regards, |
|
Posted: 10/6/11
|
|
Posted: 10/19/11
This ticket was marked as a duplicate of #2531310 |
Arnaud Didry
I wonder if this has to do with the global _yuid leak in combination with Y.guid using MS's proprietary id generation method. Perhaps the method doesn't exist on the window object in IE.