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

Transitive linkPaths broken in 2.0 #4542

Closed
5 tasks
alan-strohm opened this issue Apr 18, 2017 · 0 comments
Closed
5 tasks

Transitive linkPaths broken in 2.0 #4542

alan-strohm opened this issue Apr 18, 2017 · 0 comments
Assignees
Labels

Comments

@alan-strohm
Copy link

Description

Calling linkPaths(a, b) and then linkPaths(b, c) doesn't link c to a.

Live Demo

In 1.0 the checkbox is unchecked:
http://jsbin.com/hocuwazada/edit?html,output

Same code, but with 2.0 the checkbox stays checked:
http://jsbin.com/xevedoyeme/edit?html,output

Steps to Reproduce

       this._foo2 = this._foo;
        this._foo3 = this._foo;
        this.linkPaths('_foo', '_foo2');
        this.linkPaths('_foo2', '_foo3')
        this.set('_foo3.checked', false);

Expected Results

A notification is triggered on _foo.

Actual Results

A notification is triggered on _foo2 but not _foo.

Browsers Affected

  • [ X] Chrome
  • Firefox
  • Edge
  • Safari 9
  • Safari 8
  • IE 11

Versions

  • Polymer: v2.0-preview
  • webcomponents: v2.0-preview
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

3 participants