FLUID-5108: Source and supplied dynamic grades that both have common option(s) to be handled by IoCSS don't get merged correctly

Metadata

Source
FLUID-5108
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Cindy Li
Reporter
Cindy Li
Created
2013-08-02T11:23:50.967-0400
Updated
2014-03-03T11:29:55.944-0500
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. Framework

Description

If both the source component and the supplied dynamic grade have option(s) that need to be passed down to a sub-component via IoCSS, the option(s) defined in the source component take precedence over the dynamic grade.

The right behavior is vice versa.

The test case is created @ https://github.com/cindyli/infusion/blob/FLUID-5108/src/tests/framework-tests/core/js/FluidIoCTests.js#L3114-3150

Comments

  • Antranig Basman commented 2013-08-17T04:06:20.276-0400

    This is actually a much more fundamental issue and results from FLUID-5085, in that the grade merging algorithm as currently implemented is incorrect. It is actually unrelated to the IoCSS or dynamic grade machinery, and the test case has been accordingly simplified to act as a basic test for FLUID-5085.

  • Antranig Basman commented 2013-09-10T00:25:41.533-0400

    Merged into trunk at revision 40de4e2 together with a revision of the grade merging algorithm for FLUID-5085