On Thu, Oct 22, 2009 at 09:43, Florian Giesen <[email protected]
> wrote:

> Hi Derrel,
>
> I think I have found a bug in RpcPhp (trunk) which caused a JavaScript
> error when using ScriptTransport every time the RPC server returned an
> error. See patch below ( variable $scriptTransportId was undefined).
>
> Index: JsonRpcServer.php
> ===================================================================
> --- JsonRpcServer.php    (Revision 2845)
> +++ JsonRpcServer.php    (Arbeitskopie)
> @@ -320,7 +320,7 @@
>        /*
>         * We have what looks like a valid ScriptTransport request
>         */
> -      $this->setScriptTransportId($scriptTransportId);
> +      $this->setScriptTransportId($_GET["_ScriptTransport_id"]);
>        $input = $_GET["_ScriptTransport_data"];
>        $input = $this->json->decode(get_magic_quotes_gpc()
>        ? stripslashes($input)
>

Thanks, Florian. This should be fixed in r19401.

Derrell
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to