-
7 Jan 2011 10:52 AM #1
[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.
-
8 Jan 2011 12:10 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 40
No, the solution is to extend the constructor to pass the JsonReader options instead of adding the options to the prototype.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[CLOSED] Fieldsets are rendered incorrectly in a panel with hbox layout
By Ranma13 in forum Ext 3.x: BugsReplies: 8Last Post: 14 Nov 2011, 8:00 AM -
[CLOSED-513][3.x] PagingToolbar's displayMsg truncated incorrectly
By Jul in forum Ext 3.x: BugsReplies: 4Last Post: 15 Feb 2010, 5:49 PM -
[CLOSED][3.0r4879] window maximize button displays incorrectly
By marcing in forum Ext 3.x: BugsReplies: 5Last Post: 20 Nov 2009, 11:36 AM -
[2.2.1][CLOSED] Progress bar inside a TabPanel renders incorrectly
By chris-mac in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 27 Feb 2009, 6:07 AM -
[2.1][CLOSED] combobox displays incorrectly in IE7
By SimonDeNooij in forum Ext 2.x: BugsReplies: 1Last Post: 4 Jul 2008, 4:14 AM


Reply With Quote