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

[BUGFIX release] Avoid assertion when bound id provided to tagless component #14382

Merged
merged 1 commit into from
Sep 29, 2016

Conversation

HeroicEric
Copy link
Sponsor Member

Fixes #14369

I'm not totally sure about the protocol for submitting this change. The code fix is for code that is totally gone in 2.9+ but the test might still be useful to have around in later versions.

@chancancode is this what you were thinking?

@rwjblue
Copy link
Member

rwjblue commented Sep 29, 2016

Eeck, good catch. Yes, can you PR this test against master too?

@rwjblue rwjblue merged commit 291a156 into emberjs:release Sep 29, 2016
HeroicEric added a commit to HeroicEric/ember.js that referenced this pull request Sep 29, 2016

this.render(`{{#foo-bar id=fooBarId}}{{/foo-bar}}`, { fooBarId: 'baz' });

this.assertText('baz');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you test updating the id and resetting it back to the original value? (The point of this test is to make sure we don't throw when you update the id value on a tag less component). 😄

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Should the other tests in this file be doing the same thing?

@HeroicEric HeroicEric deleted the avoid-assertion-when-id-bound branch September 30, 2016 22:20
HeroicEric added a commit to HeroicEric/ember.js that referenced this pull request Sep 30, 2016
@yankeeinlondon
Copy link

yankeeinlondon commented Oct 1, 2016

Just ran into this ... quite desperate to get this into 2.8.x. By being in "release" does that mean it'll make the next release in a few days? Is there any workaround until then?

For me at least, this is a big deal because I am developing an addon and the default config for addons is broken in Inspector for 2.9.0 so I can't develop there either issue.


I'm using 2.7.3 for now. Guess that's an ok short term workaround.

@rwjblue
Copy link
Member

rwjblue commented Oct 1, 2016

@ksnyde - Yes, this PR targeted the release branch (and you can use this channels build today if you'd like), and it will be included in 2.8.2 when we release it (likely Monday).

HeroicEric added a commit to HeroicEric/ember.js that referenced this pull request Oct 4, 2016
webark pushed a commit to webark/ember.js that referenced this pull request Oct 6, 2016
mixonic pushed a commit to mixonic/ember.js that referenced this pull request Oct 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants