Hi at all.
I have a problem with an XML reader for a form and its data model.
In an older version of ExtJS (3.4.0) if I leave empty a tag (or only with CDATA syntax if I expect that its value is a string), I can retrieve all the configured tags from action.result.data property.
But now, in Extjs6 if I leave empty a tag (without the CDATA syntax) I cannot retrieve all the configured tags from action.result.data property.
First example:
From server side
Code:
<row>
<tagA></tagA>
<tagB><![CDATA[]]></tagB>
</row>
In client side
Code:
alert(action.result.data.tagA); //---> this exists
alert(action.result.data.tagB); //---> this exists
Second example:
From server side:
Code:
<row>
<tagA></tagA>
<tagB><![CDATA[]]></tagB>
</row>
In client side:
Code:
alert(action.result.data.tagA); //---> undefined ???
alert(action.result.data.tagB); //---> this exists!
There is a reason for the last behavior?
Thanks at all,
Lorenzo.