Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.5
-
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).