PDA

View Full Version : [CLOSED] [#599] Treenode attribute serialization



jchau
Dec 02, 2014, 2:43 PM
In Ext.NET 2.2, custom attribute serialization would put quotes on the property name. In Ext.NET 2.5, it no longer does that. Is there a setting to use quotes?

Instead of {"Test Property": true}, it is now doing {Test Property: true} which breaks.

In 2.2 changelog, I see a specific item to put quotes on property name. I wonder if that change got reverted in 2.5?

[r4684] Now the ClientConfig class quotes the properties by default during serialization.

Daniil
Dec 03, 2014, 3:08 PM
Hi @jchau,

Thank you for the report. We are investigating.

For now we can recommend to have a ConfigItem's Name like this:

"'Test Property'"

With additional single quotes inside.

Daniil
Dec 04, 2014, 12:38 PM
Created an Issue.
https://github.com/extnet/Ext.NET/issues/599

Fixed in the revisions #6188 for v2 and #6189 for v3. It will go public with v2.5.4 and v3.0.0 final releases.