Results 1 to 2 of 2

Thread: [CLOSED] JsonStore is incorrectly done

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    May 2010
    Vote Rating

    Exclamation [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
    The Netherlands
    Vote Rating


    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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts