<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Y add the patch to
<a class="moz-txt-link-freetext" href="http://trac.openlayers.org/attachment/ticket/2065/XMLHttpRequest.patch">http://trac.openlayers.org/attachment/ticket/2065/XMLHttpRequest.patch</a><br>
<br>
Bart van den Eijnden a écrit :
<blockquote cite="mid:1C45CD70-03CA-49A9-9B0B-F2669B8DF490@osgis.nl"
type="cite">Hi Pascal,
<div><br>
</div>
<div>can you please open a ticket in the OpenLayers Trac and attach
your patch there?</div>
<div><br>
</div>
<div>This seems similar to the error on read which already has a
ticket, but your case involves write:</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://trac.openlayers.org/ticket/2065">http://trac.openlayers.org/ticket/2065</a></div>
<div><br>
</div>
<div>Best regards,</div>
<div>Bart</div>
<div><br>
<div>
<div>On Dec 7, 2009, at 7:47 PM, Pascal Martin wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div bgcolor="#ffffff" text="#000000"><span role="presentation"
class="objectBox objectBox-errorMessage">Hi y
receive this error in FireBug<br>
<br>
uncaught
exception: [Exception... "Component returned failure code: 0xc1f30001
(NS_ERROR_NOT_INITIALIZED) [nsIXMLHttpRequest.send]" nsresult:
"0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame ::
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://192.168.5.168:8081/gp/lib/MF-r3260_OL-r9850_GeoEXT-r1537/MF_OL_GeoEXT.js">http://192.168.5.168:8081/gp/lib/MF-r3260_OL-r9850_GeoEXT-r1537/MF_OL_GeoEXT.js</a>
:: anonymous :: line 1469" data: no]<br>
<br>
Y fix the error by replace "<i>this._object.send(vData);</i>" with "<i>if
(!this._aborted)this._object.send(vData);</i>" in
openlayers-trunk\lib\OpenLayers\Request\XMLHttpRequest.js<br>
<br>
Can you put this fix in truck ?<br>
<br>
<br>
<br>
</span>
</div>
Index: XMLHttpRequest.js<br>
===================================================================<br>
--- XMLHttpRequest.js<span class="Apple-tab-span"
style="white-space: pre;"> </span>(révision 9859)<br>
+++ XMLHttpRequest.js<span class="Apple-tab-span"
style="white-space: pre;"> </span>(copie de travail)<br>
@@ -197,7 +197,8 @@<br>
this._object.setRequestHeader("Content-Type",
"application/xml");<br>
}<br>
<br>
- this._object.send(vData);<br>
+ if (!this._aborted)this._object.send(vData);<br>
+ this._object.send(vData);<br>
<br>
// BUGFIX: Gecko - missing readystatechange calls in
synchronous requests<br>
if (bGecko && !this._async) {<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true" href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>