angular-cn/packages/core/test/acceptance
Kara Erickson 7ac58bec8a fix(ivy): move views that are already attached in insert() (#29047)
Currently if a user accidentally calls ViewContainerRef.insert() with
a view that has already been attached, we do not clean up the references
properly, so we create a view tree with a cycle. This causes an infinite
loop when the view is destroyed.

This PR ensures that we fall back to ViewContainerRef.move() behavior
if we try to insert a view that is already attached. This fixes the
cycle and honors the user intention.

PR Close #29047
2019-03-01 15:17:24 -08:00
..
BUILD.bazel build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
change_detection_spec.ts fix(ivy): should mark OnPush ancestor of dynamically created views as dirty (#28687) 2019-02-13 12:12:45 -08:00
component_spec.ts fix(ivy): component destroy hook called twice when configured as provider (#28470) 2019-02-21 09:34:26 -08:00
content_spec.ts fix(ivy): extended next pointer lookup while traversing tNode tree (#28533) 2019-02-07 12:37:13 -08:00
di_spec.ts fix(ivy): set proper implementation for module injector (#28667) 2019-02-13 12:05:13 -08:00
exports_spec.ts feat(ivy): allow non-unique #localRefs to be defined in a template (#28627) 2019-02-11 14:51:31 -08:00
inherit_definition_feature_spec.ts fix(ivy): ngOnChanges hooks should be inherited from grand-superclasses (#28888) 2019-02-22 12:00:15 -08:00
integration_spec.ts fix(ivy): static host classes and styles should work on root component (#28926) 2019-02-26 13:29:36 -08:00
lifecycle_spec.ts fix(ivy): OnChanges should support updating one Input among many (#28693) 2019-02-13 19:15:44 -08:00
pipe_spec.ts fix(ivy): compile pipe in context of ternary operator (#28635) 2019-02-11 14:52:13 -08:00
properties_spec.ts fixup! fix(ivy): incorrectly remapping certain properties that refer to inputs (#28765) 2019-02-21 17:59:50 -08:00
providers_spec.ts fix(ivy): component destroy hook called twice when configured as provider (#28470) 2019-02-21 09:34:26 -08:00
query_spec.ts fix(ivy): support static ContentChild queries (#28811) 2019-02-19 15:29:01 -08:00
template_ref_spec.ts fix(ivy): ViewRef.rootNodes not including projected nodes (#28951) 2019-02-26 10:49:01 -08:00
view_container_ref_spec.ts fix(ivy): move views that are already attached in insert() (#29047) 2019-03-01 15:17:24 -08:00