Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha User
[OPEN-759] Ext.ComponentQuery.query() Epic Fail!
Sencha 1.0.1
Google Chrome
see http://www.sencha.com/forum/showthre...()-not-working
It appears that the component manager is using a Ext.util.HashMap rather than a mixed collection. The query routine calls on the all.items property of Ext.ComponentMgr
Code:
if (!root) {
workingItems = Ext.ComponentMgr.all.items.slice();
}
there are also several other places where all.items is referenced within ComponentQuery.js
As the itemID is supposed to be non unique as stated by Tommy in his conference videos, it appears that either A, the hash map cannot work as a container, or B the hashmap should be extended to be a chaining based hash implementation, like http://www.brpreiss.com/books/opus7/...00000000000000