[Laszlo-checkins] r12757 - openlaszlo/trunk/lps/components/rpc

dda@openlaszlo.org dda at openlaszlo.org
Thu Feb 5 12:36:52 PST 2009


Author: dda
Date: 2009-02-05 12:36:50 -0800 (Thu, 05 Feb 2009)
New Revision: 12757

Modified:
   openlaszlo/trunk/lps/components/rpc/javarpc.lzx
   openlaszlo/trunk/lps/components/rpc/soap.lzx
Log:
Change 20090205-dda-i by dda at lester-2.local on 2009-02-05 15:30:43 EST
    in /Users/dda/laszlo/src/svn/openlaszlo/trunk-g
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix two more cases where 'arguments.callee...' is used within closures

New Features:

Bugs Fixed: LPP-7721 [xml-rpc is not working when "compiler.swf9.catcherrors=true"]

Technical Reviewer: ptw (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
    ** for consideration for 4.2.0.1
    See LPP-7721 - two more (almost identical) cases have been found in components that use 'arguments'
    within function closure expressions, and are subject to the same runtime error when catcherrors=true

Tests:
   With catcherrors=false: 
      {smokecheck,lzpix} x {swf8,swf9,dhtml} 



Modified: openlaszlo/trunk/lps/components/rpc/javarpc.lzx
===================================================================
--- openlaszlo/trunk/lps/components/rpc/javarpc.lzx	2009-02-05 20:36:34 UTC (rev 12756)
+++ openlaszlo/trunk/lps/components/rpc/javarpc.lzx	2009-02-05 20:36:50 UTC (rev 12757)
@@ -161,6 +161,7 @@
 
                 var DOREQ = stubinfo['doreq'] ? stubinfo['doreq'] : false;
                 var DORES = stubinfo['dores'] ? stubinfo['dores'] : false;
+#pragma "catchFunctionExceptions=false"
                 var stubfunc = function (){
                    var args = arguments.callee.args;
                    return LzJavaRPCService.invoke(

Modified: openlaszlo/trunk/lps/components/rpc/soap.lzx
===================================================================
--- openlaszlo/trunk/lps/components/rpc/soap.lzx	2009-02-05 20:36:34 UTC (rev 12756)
+++ openlaszlo/trunk/lps/components/rpc/soap.lzx	2009-02-05 20:36:50 UTC (rev 12757)
@@ -99,6 +99,7 @@
            // "service": "MathService",
            // "wsdl": "http://www.dotnetjunkies.com/quickstart/aspplus......./mathservice.asmx?WSDL"},
            //                                            args.superclass.secure,
+#pragma "catchFunctionExceptions=false"
            var stubfunc = function (){
                var args = arguments.callee.args;
                return LzSOAPService.invoke(



More information about the Laszlo-checkins mailing list