Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-8272 in a recent build.
  1. #1
    Sencha - Community Support Team SamuraiJack1's Avatar
    Join Date
    May 2008
    Posts
    545
    Vote Rating
    3
    SamuraiJack1 will become famous soon enough

      0  

    Default NodeInterface subclass event firing causes stackoverflow

    NodeInterface subclass event firing causes stackoverflow


    Found this code in the NodeInterface:

    Code:
                    fireEventArgs: function(eventName, args) {
                        var rootNode,
                            fireEventArgs = this.superclass.fireEventArgs,
                            result;
    
                        // The event bubbles (all native NodeInterface events do)...
                        if (bubbledEvents[eventName]) {
                            for (var eventSource = this; result !== false && eventSource; eventSource = (rootNode = eventSource).parentNode) {
    And colored line causes infinite recursion if tree model class is a subclass of the another tree model class, since "this.superclass" in such case will still point to the class with NodeInterface applied.

    A test case attached (replace the content of /examples/tree/treegrid.js with it).

    Proposed solutions:

    Quick and dirty:
    Code:
                    fireEventArgs: function(eventName, args) {
                        var rootNode,
                            fireEventArgs = Ext.data.Model.prototype.fireEventArgs,
                            result;
    
                        // The event bubbles (all native NodeInterface events do)...
                        if (bubbledEvents[eventName]) {
                            for (var eventSource = this; result !== false  && eventSource; eventSource = (rootNode =  eventSource).parentNode) {
    This solution does not take into account that some of the intermediate subclasses may re-define `fireEventArgs` additionally, but probably is acceptable.
    Attached Files

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar