On Thu, Jul 23, 2009 at 8:55 AM, skar <[email protected]> wrote:

> However, it ain't the REST syntax/semantics which is the problem here.
> I'm getting the right content and status code back to firefox and even
> firebug/wireshark confirm them. But, qooxdoo's event Listener for
> "failed" event gives me null content or the previous correct login's
> content as I've explained previously, instead of the "wrong password"
> content I send from rails.
>

Would you please try applying the attached patch to see if it solves your
problem.

Derrell
diff --git a/qooxdoo/framework/source/class/qx/io/remote/Exchange.js b/qooxdoo/framework/source/class/qx/io/remote/Exchange.js
index d78e71a..246b995 100644
--- a/qooxdoo/framework/source/class/qx/io/remote/Exchange.js
+++ b/qooxdoo/framework/source/class/qx/io/remote/Exchange.js
@@ -904,6 +904,10 @@ qx.Class.define("qx.io.remote.Exchange",
                 value = "failed";
               }
             }
+            else if (value == "failed")
+            {
+              vResponse.setContent(vImpl.getResponseContent());
+            }
 
             vResponse.setStatusCode(vImpl.getStatusCode());
             vResponse.setResponseHeaders(vImpl.getResponseHeaders());
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to