Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    12
    Vote Rating
    0
    christopherbalz is on a distinguished road

      0  

    Default [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.
    Attached Files
    Last edited by christopherbalz; 29 Mar 2011 at 3:57 PM. Reason: Draw attention to attached test case.

  2. #2
    Sencha User
    Join Date
    Mar 2011
    Posts
    12
    Vote Rating
    0
    christopherbalz is on a distinguished road

      0  

    Default 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.
    Attached Files

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    12
    Vote Rating
    0
    christopherbalz is on a distinguished road

      0  

    Default 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.

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,990
    Vote Rating
    649
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    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!

  5. #5
    Sencha User
    Join Date
    Mar 2011
    Posts
    12
    Vote Rating
    0
    christopherbalz is on a distinguished road

      0  

Similar Threads

  1. Replies: 11
    Last Post: 23 May 2012, 7:14 PM
  2. how to create an instance of an Ext.extend
    By Shining77 in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 13 Jan 2011, 12:55 AM
  3. Best Practice Question - When to create a new class vs an instance?
    By caseyb in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 6 Oct 2010, 8:52 AM
  4. Create a singleton, or retrieve an instance ?
    By gu1gui in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 8 Mar 2010, 1:10 AM
  5. Replies: 6
    Last Post: 11 Jun 2009, 9:28 PM

Thread Participants: 1

Tags for this Thread