-
29 Mar 2011 3:54 PM #1
[CLOSED]Ext4 PR5: "Cannot create an instance of unrecognized alias: reader.tree"
[CLOSED]Ext4 PR5: "Cannot create an instance of unrecognized alias: reader.tree"
It looks like this example (which works with 'ext-4.0-pr4'):
http://dev.sencha.com/deploy/ext-4.0...tree/tree.html
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.
-
29 Mar 2011 4:01 PM #2
Test case now includes proper 'json' target for xml-http call.
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.
-
30 Mar 2011 10:17 AM #3
Has 'Ext.data.TreeReader' been intentionally omitted in PR5?
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.
-
30 Mar 2011 4:50 PM #4
TreeReader has been removed as of Beta1. You should use the Json/Xml readers as per usual.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
31 Mar 2011 9:04 AM #5
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[FIXED]Cannot create an instance of unrecognized alias: widget.grid
By oe.elvik in forum Ext:BugsReplies: 11Last Post: 23 May 2012, 7:14 PM -
how to create an instance of an Ext.extend
By Shining77 in forum Ext 3.x: Help & DiscussionReplies: 4Last Post: 13 Jan 2011, 12:55 AM -
Best Practice Question - When to create a new class vs an instance?
By caseyb in forum Ext 3.x: Help & DiscussionReplies: 5Last Post: 6 Oct 2010, 8:52 AM -
Create a singleton, or retrieve an instance ?
By gu1gui in forum Ext GWT: DiscussionReplies: 1Last Post: 8 Mar 2010, 1:10 AM -
[RESOLVED] how to create a new instance of a class where the input is a dynamic ...
By tomcheng76 in forum Ext 2.x: Help & DiscussionReplies: 6Last Post: 11 Jun 2009, 9:28 PM


Reply With Quote