Closed fabriciomurta closed 1 year ago
This replacement command should fix most cases in the repository (notably, not the Data Binding > Chained Combos example):
for file in $(find ./ -iname '*.json'); do
if egrep -q "[a-zA-Z0-9_]+:" "${file}"; then
echo "${file}"
sed -Ei "s/ ([a-zA-Z_][a-zA-Z0-9_]*):/ \"\1\":/g;s/'(.*)'(,)?$/\"\1\"\2/g" "${file}"
fi
done
Fixed via 257766a and updated in live site.
Several examples with Ajax proxy-based data are not displaying the associated data.
This is because Ext JS changed its default JSON handing to use browser's internal interpreter. Several examples had JSON files compatible with ExtJS's internal interpreter, and in turn, weren't really JSON compliant, but valid JavaScript Objects.
This issue was introduced with extnet/Ext.NET#1605, when Ext.NET no longer forced the default to previous Ext JS default over a major version upgrade.
In order for the examples to work, their current syntax:
Should be rewritten with json-conforming syntax: