Skip to content
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

Changing prop/path to undefined may result in wrong value in wildcard observer #5479

Closed
kevinpschaaf opened this issue Feb 4, 2019 · 2 comments
Labels

Comments

@kevinpschaaf
Copy link
Member

kevinpschaaf commented Feb 4, 2019

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 that array.splices path. That change opened up the potential for a bug where a reentrant change of a property or path back to undefined 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

  • Polymer: v2.x, 3.x
@stale
Copy link

stale bot commented Mar 13, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 13, 2020
@stale
Copy link

stale bot commented Apr 17, 2022

This issue has been automatically closed after being marked stale. If you're still facing this problem with the above solution, please comment and we'll reopen!

@stale stale bot closed this as completed Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant