Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#15679 closed defect (fixed)

dijit/_CssStateMixin improperly assumes it's registry holds all widgets

Reported by: Rawld Gill Owned by: bill
Priority: low Milestone: 1.8
Component: Dijit Version: 1.8.0b1
Keywords: Cc: bill
Blocked By: Blocking:


The ready handler as the bottom of dijit/_cssStateMixin listens for certain events on the document. The handler manipulates any nodes with the attribute _cssState in the tree that are effected by the events of interest. However, the manipulation assumes the widget will always be in the registry given by the module "./registry".

When modules are mapped, it's possible to have multiple dijit registries. In this case only a one of those registries will hold a particular widget. The current code throws when it does not find a widget.

Change History (3)

comment:1 Changed 10 years ago by Rawld Gill

In [29245]:

improve dijit/_CssStateMixin to not assume only one registry; refs #15679; refs #15584

comment:2 Changed 10 years ago by Rawld Gill

Cc: bill added
Milestone: tbd1.8
Priority: undecidedlow
Resolution: fixed
Status: newclosed

Should have marked [29245] as fixing.

comment:3 Changed 10 years ago by bill


Presumably this was only an issue in 1.8, due to #14568.

Last edited 10 years ago by bill (previous) (diff)
Note: See TracTickets for help on using tickets.