Ticket #2530056 (accepted defect)

Reporter


einarq
Opened: 03/17/11
Last modified: 07/23/12
Status: accepted
Type: defect

Owner


Matt Sweeney
Target Release: FUTURE
Priority: P3 (normal)
Summary: Anim doesn't work if all the dependencies are already on the page
Description:

Seems to be the case that if I include a combo url with all the dependencies for anim preloaded on the page, the animation doesn't work. However, if I remove the anim dependencies and use the loader
to download the files, everything works fine.

The only file module that is missing is the loader itself, but that shouldn't be necassary when all the dependencies are already on the page?

Find this one to be quite strange, so it is possible I am doing something wrong. However, I don't any reason why this shouldn't work, hence the bug. Sorry if I am wrong...

Type: defect Observed in Version: 3.3.0
Component: Animation Severity: S3 (normal)
Assigned To: Matt Sweeney Target Release: FUTURE
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: IE - All
URL:
Test Information:

- Open the attached file in any browser
- Javascript error is thrown

- Remove the second script to the yui combo
- Reload the page
- Animation works fine

Attachments

Attachment #1: test.htm (download)

Change History

Matt Sweeney

YUI Developer

Posted: 04/28/11
  • milestone changed to 3.4.0
  • status changed from new to accepted

Matt Sweeney

YUI Developer

Posted: 04/28/11
  • priority changed to P3 (normal)
  • status changed from accepted to infoneeded

When I run the attached file, I am seeing the animation execute and getting no JS error (tested in Chrome and FF).

Can you point me to a hosted version of your repro case?

einarq

Posted: 04/29/11
  • browser changed from N/A to IE - All
  • status changed from infoneeded to assigned

Sorry, seems it only happens on IE. Tested on IE 7 and IE 9.

Matt Sweeney

YUI Developer

Posted: 05/26/11
  • location changed to Library Code

Matt Sweeney

YUI Developer

Posted: 05/26/11
  • status changed from assigned to accepted

Matt Sweeney

YUI Developer

Posted: 07/27/11
  • milestone changed from 3.4.0 to 3.5.0

Matt Sweeney

YUI Developer

Posted: 02/1/12
  • milestone changed from 3.5.0 to 3.6.0

Matt Sweeney

YUI Developer

Posted: 07/23/12
  • milestone changed from 3.6.0 to FUTURE