Results 1 to 3 of 3

Thread: BUG: this.getComponentLayout().getDockedItems is not a function

  1. #1
    Touch Premium Member
    Join Date
    Jan 2008
    Location
    Quebec, Canada
    Posts
    136
    Vote Rating
    5
      0  

    Exclamation BUG: this.getComponentLayout().getDockedItems is not a function

    I have this error a lot in 4.1 B1 & B2 with the MVC architecure.
    Somehow, the ComponentQuery mechanism seems to have a bug in this function:

    Code:
    getDockedItems : function(selector, beforeBody) {
            var dockedItems = this.getComponentLayout().getDockedItems('render', beforeBody);
    
            if (selector && dockedItems.length) {
                dockedItems = Ext.ComponentQuery.query(selector, dockedItems);
            }
    
            return dockedItems;
        },
    Somehow sometimes this function hist a component without the required function!!
    I think that since a DockingContainer can be overriden with another ComponentLayout, it can be the problem ...

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Vote Rating
    1390
      0  

    Default

    Do you have a test case or a way to reproduce the error?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Ext JS Premium Member
    Join Date
    Dec 2009
    Posts
    65
    Vote Rating
    4
      0  

    Default

    I reported a similar problem here: EXTJSIV-5390

Posting Permissions

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