You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/06/18 08:51:50 UTC
git commit: [flex-sdk] [refs/heads/develop] - FLEX34324: accept patch
from Chris Martin
Repository: flex-sdk
Updated Branches:
refs/heads/develop ef02abf45 -> d81034144
FLEX34324: accept patch from Chris Martin
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/d8103414
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/d8103414
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/d8103414
Branch: refs/heads/develop
Commit: d81034144c1829cfbc1555d33d670ccc674f4b52
Parents: ef02abf
Author: Alex Harui <ah...@apache.org>
Authored: Tue Jun 17 23:51:37 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Jun 17 23:51:37 2014 -0700
----------------------------------------------------------------------
frameworks/projects/rpc/src/mx/rpc/http/Operation.as | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/d8103414/frameworks/projects/rpc/src/mx/rpc/http/Operation.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/rpc/src/mx/rpc/http/Operation.as b/frameworks/projects/rpc/src/mx/rpc/http/Operation.as
index af2f669..5cfa299 100644
--- a/frameworks/projects/rpc/src/mx/rpc/http/Operation.as
+++ b/frameworks/projects/rpc/src/mx/rpc/http/Operation.as
@@ -354,6 +354,7 @@ public class Operation extends AbstractOperation
if (params is Array && argumentNames != null)
{
args = params as Array;
+ params = new Object();
if (args.length != argumentNames.length)
{
throw new ArgumentError("HTTPMultiService operation called with " + argumentNames.length + " argumentNames and " + args.length + " number of parameters. When argumentNames is specified, it must match the number of arguments passed to the invocation");