Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Multiple imports with noscript tags, only contents of one are displayed (tags are correct however) #14274

DartBot opened this Issue Oct 21, 2013 · 5 comments


None yet
3 participants

DartBot commented Oct 21, 2013

This issue was originally filed by @butlermatt

Fork this repo:

Run noscript_bug.html and click on buttons. Content does not change, however notice console output does show correct tags.

Now remove the noscript attribute on one or more of the components (one_element, two_element and help_me). And uncomment the script lines. Run app again. Content is displayed as expected.

I have tried this with Polymer 0.8.4 and issue is the same (previous version was 0.8.2)

Also see discussion here:


DartBot commented Oct 21, 2013

This comment was originally written by @butlermatt

Opps to reiterate the title...

Multiple custom elements with noscript attribute are imported. While the tags update correctly the contents of the tag are no changing. That is one_element.html content displays but when I load two-element custom element the tags update but the content is still the same as one-element. Similar when updating with help-me element. However if I add an empty class and remove the noscript attribute, the contents displayed by the tags updates accordingly.


jmesserly commented Oct 21, 2013

ah! thanks for the repro. I think I figured it out. Bug is here in instance.dart:

_declaration = _getDeclaration(this.runtimeType);

we'll need to find the declaration using the tag name (or "is" attribute), not the type name.

Added this to the M8 milestone.
Removed Priority-Unassigned label.
Added Priority-High, Library-Polymer, Area-Polymer, Triaged labels.


sigmundch commented Oct 23, 2013

Added Started label.


jmesserly commented Oct 24, 2013

Set owner to @sigmundch.


sigmundch commented Oct 24, 2013

Fixed in r29186 - the fix should make it on the next release (>= 0.8.7)

Added Fixed label.

@sigmundch sigmundch was assigned by DartBot Oct 24, 2013

@DartBot DartBot added this to the M8 milestone Oct 24, 2013

This issue was closed.

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