Opened 7 years ago

Closed 7 years ago

Last modified 7 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:

Description

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 7 years ago by Rawld Gill

In [29245]:

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

comment:2 Changed 7 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 7 years ago by bill

Version: 1.7.31.8.0b1

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

Version 0, edited 7 years ago by bill (next)
Note: See TracTickets for help on using tickets.