Thank you for reporting this bug. We will make it our priority to review this report.
[CLOSED]Ext4 PR5: "Cannot create an instance of unrecognized alias: reader.tree"
It looks like this example (which works with 'ext-4.0-pr4'):
does not work with 'ext-4.0-pr5'.
The error message is (Firefox 4.0 and Chrome 12.0.712.0):
[Ext.ClassManager] Cannot create an instance of unrecognized alias: reader.tree
I have attached a reproduction test case of the issue: Same code side-by-side,with the only change being that in 'index-pr4.html', ExtJs 4 PR4 is used, and in the other, 'index-pr5.html', ExtJs PR5 is used.
Last edited by christopherbalz; 29 Mar 2011 at 3:57 PM.
Reason: Draw attention to attached test case.
Test case now includes proper 'json' target for xml-http call.
Forgot to include the 'json' config; now it's included in the attached 'lazy_tree.zip' file test case.
Has 'Ext.data.TreeReader' been intentionally omitted in PR5?
If 'Ext.data.TreeReader' is defined in PR5 'ext-all-debug.js', the test case works for PR5.
Checking for the existence of the missing alias, I noticed that in PR4, 'Ext.data.TreeReader' is defined, but not in 'ext-all-debug.js' for PR5.
TreeReader has been removed as of Beta1. You should use the Json/Xml readers as per usual.
Twitter - @evantrimboli
Don't be afraid of the source code!