Followed the documentation for the class and I tried to use this method to lookup a bunch of checkboxes ... Ext.ComponentQuery.query('#container .checkboxfield') .. fails on line 5935 within debug-w-comments file. -
// no root, use all Components in the document
if (!root) {
workingItems = Ext.ComponentMgr.all.items.slice();
}
Error - Uncaught TypeError: Cannot call method 'slice' of undefined
I reverted to a different way of calling (specifying the root) to avoid executing the above codepath.
I got the same behavior. It does appear to be a bug. Ext.ComponentMgr is storing the reference to managed components inside map, not inside a MixedCollection. Therefore, the property items of all does not exist.