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

Ginger references to subcomponents will force creation of "createOnEvent" components before their time

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9
    • 1.5
    • IoC System
    • None

    Description

      The intention behind the "createOnEvent" annotation applied to a component is that it will be created ONLY on receipt of the event specified. Unfortunately, the oldest "ginger process" code held in fluid.makeGingerStrategy ignores this event annotation and should it receive a ginger reference (expressed by member name) to a component which might be created, will create it on the spot whether it has a "createOnEvent" specification or not.

      This algorithm should be corrected to fail with a diagnostic in the case this early creation is requested (we might make an exception for an exact reference to just the subcomponent in question but it's hard to think of a reasonable use case for this).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: