Results 1 to 4 of 4

Thread: [6.7.0.236 Modern / 7.0 EA] Ext.tab.Panel onItemRemove may fail when being destroyed

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium User
    Join Date
    Mar 2017
    Posts
    21

    Default [6.7.0.236 Modern / 7.0 EA] Ext.tab.Panel onItemRemove may fail when being destroyed

    ExtJS versions : 6.7.0.236 Modern / 7.0 EA Modern

    Hi,

    The code of the function Ext.tab.Panel.onItemRemove is self-explanatory :

    Code:
        onItemRemove: function(item, index, destroying) {
            var me = this,
                meDestroying = me.meDestroying,
                clearBar, tabBar;
            if (!meDestroying) {
                tabBar = me.getTabBar();
                if (item === tabBar) {
                    clearBar = me.removingTabBar === undefined;
                } else if (tabBar) {
                    tabBar.remove(item.tab, true);
                }
            }
             ...
        }
    You will never find any other occurence of the word meDestroying in ExtJs code

    Should be
    Code:
        onItemRemove: function(item, index, destroying) {
            var me = this,
                meDestroying = me.destroying,
                clearBar, tabBar;
             ...
        }

  2. #2
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    569

    Default

    Hello,

    Thank you for contacting Sencha Support!

    We appreciate you bringing this to our notice, we have registered this in our bug tracker under reference Jira DOCS-542 to correct this. The reference ticket will be attached here for you to receive progress updates.

    Regards,
    Kumar
    Sencha Support.

  3. #3
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,250

    Default

    This issue posted is related to code, not documentation.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  4. #4
    Sencha Premium User
    Join Date
    Mar 2017
    Posts
    21

    Default

    Quote Originally Posted by evant View Post
    This issue posted is related to code, not documentation.
    any update on bug reclassification ?

Posting Permissions

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