Y add the patch to  http://trac.openlayers.org/attachment/ticket/2065/XMLHttpRequest.patch

Bart van den Eijnden a écrit :
Hi Pascal,

can you please open a ticket in the OpenLayers Trac and attach your patch there?

This seems similar to the error on read which already has a ticket, but your case involves write:


Best regards,
Bart

On Dec 7, 2009, at 7:47 PM, Pascal Martin wrote:

Hi y receive this error in FireBug

uncaught exception: [Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIXMLHttpRequest.send]" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: http://192.168.5.168:8081/gp/lib/MF-r3260_OL-r9850_GeoEXT-r1537/MF_OL_GeoEXT.js :: anonymous :: line 1469" data: no]

Y fix the error by replace "this._object.send(vData);" with "if (!this._aborted)this._object.send(vData);" in openlayers-trunk\lib\OpenLayers\Request\XMLHttpRequest.js

Can you put this fix in truck ?



Index: XMLHttpRequest.js
===================================================================
--- XMLHttpRequest.js (révision 9859)
+++ XMLHttpRequest.js (copie de travail)
@@ -197,7 +197,8 @@
                this._object.setRequestHeader("Content-Type", "application/xml");
        }

-        this._object.send(vData);
+        if (!this._aborted)this._object.send(vData);
+            this._object.send(vData);

        // BUGFIX: Gecko - missing readystatechange calls in synchronous requests
        if (bGecko && !this._async) {
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to