-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Closed
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimefreq1: lowtype: bug/fix
Description
As discussed with @tbosch there seems to be an issue with internal data structures when:
- a component is created dynamically
- an EmbeddedView is created dynamically (from
TemplateRef
) and its nodes are used to fill in a "hole" in a component
Given the above conditions it is not possible to properly destroy an EmbeddedView as the "Cannot read property 'indexOf' of undefined" error is thrown from AppView detatch method. Here is a plunker that illustrates this: http://plnkr.co/edit/XOVSN1BsimR7oToFO3Du?p=preview (open a modal, close it and see the error in the console).
Angular version 2.3.0-beta.1 (pinned in the above plunker)
Metadata
Metadata
Assignees
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimefreq1: lowtype: bug/fix