I'm trying to load data within a store via an AJAX proxy. The reader is configured to expect a success property with the value 'success' and a root property with the value 'value'. The Server response looks like this:
The operation fails in the following line in the Ext.data.reader.Reader with a 'obj.value is undefined':
"message":"Error message ...",
The implementation expects a root element even if the server responds with success=false. In my opinion it should not be necessary to define a root element on fail. Why is this, or am I seeing something completly wrong?
var root = Ext.isArray(data) ? data : me.getRoot(data),