Skip to content

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

Closed

Description

@kevinpschaaf

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

Activity

  1. stale commented on Mar 13, 2020

    @stale

    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.

  2. stale commented on Apr 17, 2022

    @stale

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions