-
Notifications
You must be signed in to change notification settings - Fork 25.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EmbeddedView destroy issue #13062
Comments
Here is a simplified plunker that doesn't use any services, component factories etc. This is just a basic |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
As discussed with @tbosch there seems to be an issue with internal data structures when:
TemplateRef
) and its nodes are used to fill in a "hole" in a componentGiven 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)
The text was updated successfully, but these errors were encountered: