Functions that use an expander as an argument have the expander itself in the resolved expander return

Description

If a declarative listener or invoker uses an expander as one argument:

onCreate: {
listener: "fluid.tests.fluid5120.init",
args: ["{that}", {expander: {func: "{that}.getObject"}}]
}

And, the expander "getObject" returns an object:
{
"key1": "value1"
}

Once the expander is resolved, the output contains not only the expected object content but also the expander itself:
{
"expander": {
"func": {}
},
"key1": "value1"
}

A test case is create @ https://github.com/cindyli/infusion/blob/FLUID-5117/src/tests/framework-tests/core/js/FluidIoCTests.js#L3131-3163

Environment

None

Activity

Show:

Michelle D'Souza September 12, 2013 at 5:54 PM

Merged into project repo at d9f59f76fa3e8afeaf671e7be14eb1deeca0eb7d

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created August 16, 2013 at 3:00 PM
Updated March 3, 2014 at 4:29 PM
Resolved September 12, 2013 at 5:54 PM

Flag notifications