Hi, i think you hit http://trac.openlayers.org/ticket/1896
Its fixed in trunk, cheers Ivan On Mon, Mar 16, 2009 at 11:20 AM, adu...@hbs-research.com < adu...@hbs-research.com> wrote: > When I run openlayers in ie7 I have an error in > /OpenlLayers/lib/OpenLayers/Proptocol/HTTP.js on line 324: > > 'status' is Null or is not an object > > This does not happen in firefox. > > Now if I look closer to the code, it is a bug in a method > 'handleResponse' of the object OpenLayers.Protocol.HTTP > the method begins like this: > > handleResponse: function(resp, options) { > var request = resp.priv; > if(options.callback) { > if(request.status >= 200 && request.status < 300) { ... > > Now in my case I don't exactly know why resp.priv is null. So I just > changed the code like this and all seams to work fine (in ie and firefox): > > handleResponse: function(resp, options) { > var request = resp.priv; > if(options.callback) { > if(request && request.status >= 200 && request.status < 300) > { ... > > This would just check if request is not null before trying to see if > there is a status with it. Anyway if "request" is null the status can > not be >= 200 and < 300. So the corrected code is not wrong. > _______________________________________________ > Dev mailing list > Dev@openlayers.org > http://openlayers.org/mailman/listinfo/dev >
_______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev