Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    May 2010
    Posts
    1
    Vote Rating
    0
    developer.loke is on a distinguished road

      0  

    Exclamation [CLOSED] JsonStore is incorrectly done

    [CLOSED] JsonStore is incorrectly done


    Trying to extend JsonStore, I landed into an infinite loop of nowhere. So I went and checked it's source to find to explore the issue.

    The JsonStore class creates a reader by passing the config variable to it directly without adding any extended values. So if the extended class has properties required by the JsonReader, it would never get them, unless the config variable has the values passed as constructor values.

    The solution is to update the config variable with Ext.apply before sending that to JsonReader.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    82
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    No, the solution is to extend the constructor to pass the JsonReader options instead of adding the options to the prototype.

Similar Threads

  1. Replies: 8
    Last Post: 14 Nov 2011, 8:00 AM
  2. Replies: 4
    Last Post: 15 Feb 2010, 5:49 PM
  3. Replies: 5
    Last Post: 20 Nov 2009, 11:36 AM
  4. [2.2.1][CLOSED] Progress bar inside a TabPanel renders incorrectly
    By chris-mac in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 27 Feb 2009, 6:07 AM
  5. [2.1][CLOSED] combobox displays incorrectly in IE7
    By SimonDeNooij in forum Ext 2.x: Bugs
    Replies: 1
    Last Post: 4 Jul 2008, 4:14 AM

Thread Participants: 1

Tags for this Thread