Opened 11 years ago

Closed 11 years ago

#11564 closed defect (fixed)

Dialog: exception in dijit._DialogLevelManager::show

Reported by: Douglas Hays Owned by: bill
Priority: high Milestone: 1.6
Component: Dijit Version: 1.5
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

A customer reported this exception after refreshing a ContentPane with an embedded Dialog widget. The exception is coming from:
The variable underlay is of type object but underlay._destroyed==true but that method only checks for !underlay but it should also be checking for
underlay._destroyed. Adding this extra check makes the exception go away.

Attachments (1)

DialogException.jpg (11.1 KB) - added by Douglas Hays 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Douglas Hays

Attachment: DialogException.jpg added

comment:1 Changed 11 years ago by bill

Description: modified (diff)
Milestone: tbd1.6
Status: newassigned
Summary: exception in dijit._DialogLevelManager::showDialog: exception in dijit._DialogLevelManager::show

This is from a corner case, they are actually destroying all the widgets (and all the DOM nodes) under <body>. I'll check in the safeguard against that though, as you suggested.

comment:2 Changed 11 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [22737]) Safeguard against when underlay has been destroyed somehow, fixes #11564 !strict.

Note: See TracTickets for help on using tickets.