Success! Looks like we've fixed this one. According to our records the fix was applied for
Ext.get contract broken
The contract of Ext.get is to 'get' an element from the DOM. Seems broken to me:
Cache is not busted as I overwrite some element. Docs say this should work.
console.log(Ext.get('foo').dom.innerHTML) // >> "CRAP"
Uses simple caching to consistently return the same object. Automatically fixes if an object was recreated with the same id via AJAX or DOM.
Thanks for the report! I have opened a bug in our bug tracker.
This bug report is still open. Has not been worked on yet.
Coming up on 6 months for this, can we please just get it fixed? Still broken in 2.2. Ext.get just _has_ to work according to docs, imagine if in jQuery you could not trust
I think that's kind of a critical one.
Still nothing about this ?
It seams that Ext.get cache isn't cleared not even on component destroy.
Ext.Element.cache is the same before and after the above.
is also affected about this, if you set [returnEl] true, check the source code.
Of course there are workarounds for this, but still...
27 Jun 2013, 11:40 AM
Closing in on a year for this ticket, can we get some official love for it?