Andréas Kühne <[EMAIL PROTECTED]> writes:

> We have just migrated to the new 0.6.6 version of qooxdoo. However there
> seems to be something wrong with the POST version of
> qx.io.remote.Request. As far as I can see it uses the
> qx.io.remote.IFrameTransport object when sending a POST with a form
> attached. The problem is that a method seems to be missing
> (this.getFormFields(), see below)
>
> Has anyone got the POST versions working?

Sigh.  The problem with quick fixes that people need right away is that those
fixes end up in the distribution without any testing when that urgent need
seems to vanish after the quick fix is provided.  Bummer.  I hate to be
unresponsive, but then I end up feeling stupid when my fixes don't work. :-(

Would you please apply this patch to 0.6.6 and confirm that it fixes the
problem.

Thanks,

Derrell

Index: frontend/framework/source/class/qx/io/remote/AbstractRemoteTransport.js
===================================================================
--- frontend/framework/source/class/qx/io/remote/AbstractRemoteTransport.js	(revision 6780)
+++ frontend/framework/source/class/qx/io/remote/AbstractRemoteTransport.js	(working copy)
@@ -107,6 +107,11 @@
 qx.OO.addProperty({ name : "parameters", type: "object" });
 
 /*!
+  Request form fields to send.
+*/
+qx.OO.addProperty({ name : "formFields", type: "object" });
+
+/*!
   Response Type
 */
 qx.OO.addProperty({ name : "responseType", type: "string" });
Index: frontend/framework/source/class/qx/io/remote/Exchange.js
===================================================================
--- frontend/framework/source/class/qx/io/remote/Exchange.js	(revision 6780)
+++ frontend/framework/source/class/qx/io/remote/Exchange.js	(working copy)
@@ -580,6 +580,7 @@
     propValue.setPassword(vRequest.getPassword());
 
     propValue.setParameters(vRequest.getParameters());
+    propValue.setParameters(vRequest.getFormFields());
     propValue.setRequestHeaders(vRequest.getRequestHeaders());
     propValue.setData(vRequest.getData());
 
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to