Results 1 to 3 of 3

Thread: destroy error (modern toolkit)

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-18438 in
  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2010
    Montreal, Canada

    Default destroy error (modern toolkit)

    Ext version tested:
    • Ext modern-neptune
    • Ext modern-neptune

    Browser versions tested against:
    • Chrome Version 49.0.2623.87
    • Firefox 44.0.2

    • When a object is destroyed, throws an error

    Steps to reproduce the problem:
    • Load fiddle
    • click destroy button

    The result that was expected
    • Object is destroyed without error

    The result that occurs instead:
    • Error in console.log
    • Application become instable

  2. #2
    Sencha Premium User
    Join Date
    Dec 2015


    I think this is a duplicate of EXTJS-18438.

    If interested in a workaround, try this:
    Ext.define('Override.Container', {
        override: 'Ext.Container', getComponent: function (component) {
            if (this.destroyed) {
                return null;
            if (typeof component === 'number') {
                return this.getItems().getAt(component);
            if (Ext.isObject(component)) {
                component = component.getItemId();
            return this.getItems().get(component);

  3. #3
    Sencha Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Goiânia - GO, Brazil


    any override for classic toolkit
    Wemerson Januario @JanuarioCoder
    Novanti Tecnologia, Sencha MVP/ Ext JS Consultant
    Hire me on UpWork:


    Treinamento e Consultoria Ext JS. QUALIFIQUE-SE JÁ!

Similar Threads

  1. ??? Data Binding in the Ext JS Modern Toolkit
    By martini3oz in forum Sencha日本語フォーラム
    Replies: 0
    Last Post: 28 Oct 2015, 6:23 PM
  2. Tree in Modern toolkit
    By wbabich in forum Ext JS 6.x Q&A
    Replies: 3
    Last Post: 13 Oct 2015, 6:35 AM
  3. Draw with modern toolkit
    By rocco.celsi in forum Ext JS 6.x Q&A
    Replies: 1
    Last Post: 9 Aug 2015, 2:17 PM
  4. What's coming soon in the Modern toolkit?
    By wbabich in forum Ext JS 6.x Q&A
    Replies: 1
    Last Post: 3 Aug 2015, 5:50 AM
  5. Ext.Promise on modern toolkit only??
    By chanand in forum Ext JS 6.x Q&A
    Replies: 3
    Last Post: 17 Jun 2015, 8:48 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts