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

Remove setOwner() calls #1164

Merged
merged 1 commit into from Jan 4, 2017
Merged

Remove setOwner() calls #1164

merged 1 commit into from Jan 4, 2017

Conversation

Turbo87
Copy link
Collaborator

@Turbo87 Turbo87 commented Jan 4, 2017

setOwner() is not polyfilled by ember-getowner-polyfill and fails on older Ember versions. Using setOwner() in the tests was introduced by #1124, which should have failed CI, but apparently went through for some unknown reason (possibly a caching issue or some transitive dependency constraint on the polyfill?).

This is needed until ember-polyfills/ember-getowner-polyfill#14 lands.

@Turbo87 Turbo87 added the bug label Jan 4, 2017
@Turbo87 Turbo87 requested a review from marcoow January 4, 2017 14:23
... to prevent setOwner() calls on Ember versions that don't support it
@marcoow marcoow added this to the 1.2 milestone Jan 4, 2017
@marcoow
Copy link
Member

marcoow commented Jan 4, 2017

@Turbo87 don't really understand why the tests would fail here…

@Turbo87
Copy link
Collaborator Author

Turbo87 commented Jan 4, 2017

because passing in container apparently doesn't work anymore in newer Ember versions 💥

got a workaround prepared already. will push soon.

@Turbo87
Copy link
Collaborator Author

Turbo87 commented Jan 4, 2017

@marcoow updated the PR with the new solution

@Turbo87 Turbo87 merged commit 5f5e1c5 into mainmatter:master Jan 4, 2017
@Turbo87 Turbo87 deleted the setowner-fix branch January 4, 2017 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants