Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#3977 closed defect (fixed)

Ineriting from FilteringSelect terminates in "too much recursion"...

Reported by: guest Owned by: haysmark
Priority: high Milestone: 1.0
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

It breaks because of this assignment:

this.parentClass=dojo.getObject(this.declaredClass, false).superclass;

when you do this:

this.parentClass.postCreate.apply(this, arguments);

in postcreate of "dijit.form.ComboBoxMixin?".

The following code excersises the bad assumption:

dojo.provide("widget.Select"); dojo.require("dijit.form.FilteringSelect?");

dojo.declare(

"widget.Select", dijit.form.FilteringSelect?, {

}

);

dojo@…

Change History (4)

comment:1 Changed 12 years ago by Adam Peller

Component: GeneralDijit
Milestone: 0.9
Owner: changed from anonymous to Douglas Hays

comment:2 Changed 12 years ago by bill

Milestone: 1.0
Owner: changed from Douglas Hays to haysmark

Sounds like we need to rearchitect this then.

comment:3 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [9961]) Fixes #3977. Change to use this.inherited to fix inheritance problems.

comment:4 Changed 9 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.