Changing prop/path to undefined
may result in wrong value in wildcard observer
#5479
Labels
undefined
may result in wrong value in wildcard observer
#5479
Description
A (very old) change dating back to Polymer 1.x was made to allow array splice info to be transmitted only via the data-binding system, without actually assigning the
splices
object to the array at thatarray.splices
path. That change opened up the potential for a bug where a reentrant change of a property or path back toundefined
would result in a stale value being returned in a wildcard observer info object.Related to #5475 (Wildcard observer value wrong with reentrant change).
Steps to Reproduce
See skipped tests reentry after prop goes back to undefined and reentry after path goes back to undefined added in #5476. Ideally a fix to this bug would allow enabling those tests.
Versions
The text was updated successfully, but these errors were encountered: