Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-6456

Infusion erroneously expands ${} style EL references in arbitrary configuration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: IoC System
    • Labels:
      None

      Description

      Tony Atkins 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.

        Attachments

          Activity

            People

            Assignee:
            antranig Antranig Basman
            Reporter:
            antranig Antranig Basman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: