Mar 13, 2011, 8:39 AM
[1.0] BUG: STORE Parameter Value="" empty causes invalid json construction
<ext:Store runat="server" AutoLoad="false" ShowWarningOnFailure="false">
<Proxy>
<ext:HttpProxy Url="/svc/test.ashx" Method="GET" DisableCaching="true" />
</Proxy>
<BaseParams>
<ext:Parameter Name="P1" Value="" Mode="Raw" />
<ext:Parameter Name="P2" Value="" Mode="Raw" />
</BaseParams>
<Reader>
<ext:JsonReader Root="Response" >
<Fields>
<ext:RecordField Name="Test" Type="Int" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
Produces javascript code that crashes. Ext.apply(options.params,{"P1":,"P2":});
Should produce Ext.apply(options.params,{"P1":"","P2":""});
Last edited by Daniil; Jun 27, 2011 at 10:32 AM.
Reason: Please use [CODE] tags for all code