-
13 May 2010 7:34 PM #1
[OPEN-964] Ext.Direct and exceptions
[OPEN-964] Ext.Direct and exceptions
I'm glad so many people do have any errors and therefore do not run into this, but... there is
And yet no onProviderException method. Also related to exceptions, in this code:PHP Code:provider.on('exception', this.onProviderException, this);
Should the if statement part not read like this:PHP Code:onProviderData : function(provider, e){
if(Ext.isArray(e)){
for(var i = 0, len = e.length; i < len; i++){
this.onProviderData(provider, e[i]);
}
return;
}
if(e.name && e.name != 'event' && e.name != 'exception'){
this.fireEvent(e.name, e);
}else if(e.type == 'exception'){
this.fireEvent('exception', e);
}
this.fireEvent('event', e, provider);
},
Or did you want to add some extra parameter for exceptions or something?PHP Code:if(e.name && e.name != 'event' && e.name != 'exception'){
this.fireEvent(e.name, e);
}
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote