FLUID-5013: IoCSS does not pass down non-options blocks to the target component

Metadata

Source
FLUID-5013
Type
Improvement
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Cindy Li
Reporter
Cindy Li
Created
2013-05-07T14:07:55.686-0400
Updated
2015-11-08T21:17:46.308-0500
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. Framework

Description

This "distributeOptions" expects the pass-down of all component definitions including options and non-options blocks.

fluid.defaults("fluid.tests.top", {
....
distributeOptions: {
source: "{that}.options.templateLoader",
exclusions: [],
target: "{that > templateLoader}"
}
});

However, the non-options blocks such as the new "type" is not found in the target component.

var top = fluid.tests.top({
subComponent: {
type: "fluid.tests.subComponent2"
}
});

The unit test for this issue is created @ https://github.com/cindyli/infusion/blob/FLUID-5010/src/webapp/tests/framework-tests/core/js/FluidIoCTests.js#L2472-2505

Comments

  • Antranig Basman commented 2013-05-24T23:11:31.764-0400

    Merged into trunk at revision e4ebd9