mergePolicy of "noexpand" currently appears to also imply "nomerge"

Description

The current implementation of the "noexpand" merge policy also appears to inhibit merging - only the "final value" of a series of options merged at a particular path under "noexpand" will appear. This removes the possibility for the user to specify options which are merged according to the standard algorithm but not expanded. This was the expectation in the "fluid.uiOptions.inline" options shipped in Infusion 1.4 but owing to a further framework limitation, which failed to honour mergePolicies which appeared in derived grades, this problem was not seen.
As part of the FLUID-4695 model transformations work, the handling of mergePolicies was improved which caused a failure in the fatPanel configuration of UIOptions, as the final value of "uiOptionsTransform", the transformation record, no longer became merged together correctly, with the fatPanel portion of the record destroying the uiOptionsTransform record.

When this issue is resolved, the current effect of "noexpand" could be achieved by writing the composite mergePolicy of "nomerge, noexpand".

Environment

None

Activity

Show:

Antranig Basman February 1, 2013 at 9:13 AM

Now correct in trunk implementation

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created May 7, 2012 at 8:32 AM
Updated April 4, 2014 at 7:31 PM
Resolved February 1, 2013 at 9:13 AM

Flag notifications