Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-8669 in 4.2.0.663.
  1. #1
    Sencha User
    Join Date
    Nov 2008
    Location
    Lyon, France
    Posts
    215
    Vote Rating
    5
    christophe.geiser will become famous soon enough

      0  

    Default [4.2.0.489] cmp not available at plugin constructor

    [4.2.0.489] cmp not available at plugin constructor


    Great to see a RC ! thanks

    There is a problem with plugin instantiation. We use to have a ref to cmp initiating the plugin during construction - it is not the case anymore.

    We could have, instead of the original code below:
    Code:
      
    if (plugin.ptype && !plugin.isPlugin) {
               // If a config object with a ptype
               plugin = Ext.PluginManager.create(plugin, null, this);
           } else if (typeof plugin == 'string') {
               // ptype only
               plugin = Ext.PluginManager.create({
                   ptype: plugin
               }, null, this);
           }
    to make it work again

    in AbstractCmp :
    Code:
    constructPlugin: function(plugin) {
            if (plugin.ptype && !plugin.isPlugin) {
                // If a config object with a ptype
                plugin = Ext.PluginManager.create(plugin);
            } else if (typeof plugin == 'string') {
                // ptype only
                plugin = Ext.PluginManager.create({
                    ptype: plugin
                });
            }
            if (plugin.cmp !== this) {
                if (plugin.setCmp) {
                    plugin.setCmp(this);
                } else {
                    plugin.cmp = this;
                }
            }
            return plugin;
        },
    
    
    C.

  2. #2
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,293
    Vote Rating
    121
    dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all

      0  

    Default


    @christophe.geiser -

    The problem this was trying to solve is that the plugin author cannot really know in all cases how the plugin will be created. In this case, for example, if the plugin is created and passed as a plugin to the component.

    To handle other forms of construction for plugins, we shifted all of our plugins to use setCmp as the earliest moment where the plugin meets the component... since we could not change the timing of the init method this seemed the safest.

    That said, and since at times the plugin author and user are one and the same - I think we can restore the cmp reference at construction time for *some* forms of plugin construction.
    Don Griffin
    Ext JS Development Team Lead

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

Thread Participants: 1