PDA

View Full Version : [DUP] Setting a JsonReader root property to (none) (aka null)



KevinJ
2 Apr 2012, 8:47 AM
See thread here for details
http://www.sencha.com/forum/showthread.php?192130-Strange-issue-with-treeview-loading-data&p=770103#post770103

Once you set the root property of a JsonReader you cannot set it back to (none) (aka null). Attempts to remove the existing property in the designer make the designer throw an error saying "The config value for root is mandatory." I am using the Designer 2 311 build.

The only way to set the property back to (none) is to delete the JsonReader and added back an NEW JSON reader. The default for a new JsonReader root property is (none) so the tree will now load.

It seems like this is a bug in the designer. If (none) (aka null) is a correct value, the designer should allow you to set it to (none) without throwing an error. What do you think?

-Kevin