FLUID-4332: Unintended instantiation of "components" through an invoker erroneously creates instantiator record

Metadata

Source
FLUID-4332
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Cindy Li
Created
2011-07-08T15:18:01.465-0400
Updated
2014-03-03T13:06:06.297-0500
Versions
  1. 1.4
Fixed Versions
  1. 1.5
Component
  1. IoC System

Description

Invocation of a component creator function (that is, one that dispatches to a framework component initialisation function) from within an invoker will attempt to create an instantiator component record. If this is done repeatedly, this will fail as a result of considering the path as dirty. This situation needs to be clarified - either no component record should be created, or this route should result in the creation of genuine components at nonce paths, as is currently done when fluid decorators are encounted as part of a renderer tree by a renderer component.

This error can only be observed when the component creator function itself instantiates a subtree by means of initDependents.

Comments

  • Antranig Basman commented 2013-02-19T14:53:04.708-0500

    Resolved by merge of FLUID-4330 branch at revision 91d5d1