FLUID-6456: Infusion erroneously expands ${} style EL references in arbitrary configuration

Metadata

Source
FLUID-6456
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2020-02-12T13:07:35.502-0500
Updated
2020-02-14T09:38:00.064-0500
Versions
N/A
Fixed Versions
  1. 3.0
Component
  1. IoC System

Description

@@Tony Atkins [RtF] found when working on the GPII's Live Solutions Registry that configuration of the form "${{session}.preferences}" was being expanded when occurring as free-form component options. This occurs in the solutions registry in sections such as

"launchHandlers": {
    "launch": {
        "type": "gpii.settingsHandlers.exploding",
        "options": {
            "launchHandler": true,
            "preferences": "${{session}.preferences}"
        }
    }
}

This support is a holdover from the ancient days of the "old renderer" and was never intended to be active in ordinary component options.

It seems that it has been gradually automatically disabled as we moved non-freestanding expansion over to the higher-performance "expandImmediate" system, but this pathway has been left behind for options directly attached to the component, as part of the ancient default "ELstyle: ${}" configuration supplied via fluid.generateExpandBlock.

Comments