FLUID-4290: IoC system corrupts the instantiator stack in cases where createOnEvent is used from root component

Metadata

Source
FLUID-4290
Type
Bug
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2011-06-15T12:52:42.084-0400
Updated
2011-06-27T11:20:20.746-0400
Versions
  1. 1.3.1
Fixed Versions
  1. 1.4
Component
  1. IoC System

Description

The code at https://github.com/jobara/infusion/blob/b3edd48025a7b02981cc97fbec1eda61ab15becb/src/webapp/components/uiOptions/js/FatPanelUIOptions.js will fail, with the following message:

ASSERTION FAILED: Error in initDependent: user instantiator supplied with id 11 which differs from that for currently active instantiation with id 13 while instantiating dependent component with name "markupRenderer" with record Object { type="fluid.renderIframe", container="{fatPanelUIOPtionsImp}.dom.iframe", options={...}} as child of Object { typeName="fluid.fatPanelUIOPtionsImp", id=6, more...}

This looks like it is caused by improper nesting of instantiator use within initDependents

Comments

  • Justin Obara commented 2011-06-15T12:54:56.942-0400

    Bug Parade Infusion

  • Michelle D'Souza commented 2011-06-20T16:08:50.457-0400

    Pull request https://github.com/fluid-project/infusion/pull/77

    We are waiting for tests before putting the pull request into the repo.

  • Michelle D'Souza commented 2011-06-27T11:20:20.740-0400

    Merged into project repo at 417e46b79a0d7879e709d5c9fc725010dd186c67