Ticket #2530021 (closed defect)
Reporter Satyam |
Opened: 03/3/11 Last modified: 09/15/11 Status: closed Type: defect Resolution: fixed |
Owner Satyen Desai |
Target Release: 3.4.1 Priority: P4 (low) |
|---|---|---|---|
| Summary: | WidgetAnim fails when host is destroyed | ||
| Description: | The code provided in the test information box below fails when the overlay being animated is destroyed. Static method Y.WidgetAnim.ANIMATIONS.fadeIn
At the time of executing the callback function, the node being animated has already been destroyed somewhere along the chain of destructors. |
||
| Type: | defect | Observed in Version: | 3.3.0 |
| Component: | Widget | Severity: | S3 (normal) |
| Assigned To: | Satyen Desai | Target Release: | 3.4.1 |
| Location: | Library Code | Priority: | P4 (low) |
| Tags: | Relates To: | ||
| Browsers: | N/A | ||
| URL: | |||
| Test Information: |
|
||
Change History
|
Posted: 03/3/11
|
|
Posted: 04/27/11
|
|
Posted: 07/27/11
These are backlog bugs which didn't make it into any of the 3.4.0 sprints. Marking as 3.5.0 backlog for evaluation going into 3.5.0 sprint 1 |
|
Posted: 08/23/11
|
|
Posted: 08/23/11
|
|
Posted: 09/13/11
You're right. It's probably something with the infrastructure order of operations, since plugins should have their "destructors" called before the base Widget destructor is called. We probably cleaned up something along the way with the destruction flow (I remember fixing something for plugin destruction a little while ago). Can't repro it anymore in 3.4.0. Test case attached. Tried destroy on initial render, after hide/show, after hide with "Break on all Exceptions" enabled - all work fine without throwing exceptions. |
|
Posted: 09/15/11
|
See also: http://yuilibrary.com/projects/yui3/ticket/2530022
Might it be that the destruction sequence is incorrect? Eric Ferraiolo's Overlay Extras also tries to do access DOM elements that have already been destroyed. (unbound from the YUI Node instance)