angular-cn/packages/core/test
Andrew Scott 1786586747 fix(core): Refresh transplanted views at insertion point only (#35968)
Only refresh transplanted views at the insertion location in Ivy.
Previously, Ivy would check transplanted views at both the insertion and
declaration points. This is achieved by adding a marker to the insertion
tree when we encounter a transplanted view that needs to be refreshed at
its declaration. We use this marker as an extra indication that we still
need to descend and refresh those transplanted views at their insertion
locations even if the insertion view and/or its parents are not dirty.

This change fixes several issues:

  * Transplanted views refreshed twice if both insertion and declaration
  are dirty. This could be an error if the insertion component changes
  result in data not being available to the transplanted view because it
  is slated to be removed.
  * CheckAlways transplanted views not refreshed if shielded by
  non-dirty OnPush (fixes #35400)
  * Transplanted views still refreshed when insertion tree is detached
  (fixes #21324)

PR Close #35968
2020-04-29 14:31:12 -07:00
..
acceptance fix(core): Refresh transplanted views at insertion point only (#35968) 2020-04-29 14:31:12 -07:00
animation build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
bundling fix(core): Refresh transplanted views at insertion point only (#35968) 2020-04-29 14:31:12 -07:00
change_detection build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
debug build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
di build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
dom build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
i18n build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
linker build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
metadata build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
reflection build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
render3 build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
sanitization build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
strict_types build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
testability build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
util build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
view build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
zone build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
BUILD.bazel test(core): re-enable IE 10/11 test on SauceLabs (#35962) 2020-03-24 10:14:47 -07:00
application_init_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
application_module_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
application_ref_integration_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
application_ref_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
component_fixture_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
dev_mode_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
directive_lifecycle_integration_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
error_handler_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
event_emitter_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
fake_async_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
forward_ref_integration_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
spies.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
test_bed_async_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
test_bed_spec.ts fix(core): properly identify modules affected by overrides in TestBed (#36649) 2020-04-21 21:57:48 -04:00
testing_internal_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
util_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00