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/master Commit: d81034144c1829cfbc1555d33d670ccc674f4b52 Parents: ef02abf Author: Alex Harui <aha...@apache.org> Authored: Tue Jun 17 23:51:37 2014 -0700 Committer: Alex Harui <aha...@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");