getOwner(this) is sometimes returning undefined after ember-2.14.0-beta2
See original GitHub issueThis is related to:
https://github.com/intercom/ember-href-to/issues/81 and https://github.com/Vestorly/torii/issues/349#issuecomment-302141236 and perhaps https://github.com/emberjs/ember.js/issues/15468
It appears that sometimes getOwner(this) returns undefined, and we are having to work around it with const owner = getOwner(this) || this.container
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Ember async computed property returns undefined
I am attempting to set a property to the value of a model's async, hasMany relationship. But I'm not able to return any...
Read more >When overriding buildURL this._super() returns undefined
_super(...arguments) is always returning undefined . As far as I know it was supposed to call the parent's buildURL method. Right?
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@stefanpenner just checked Release 35 (Safari 11.0, WebKit 12604.1.29) it is fixed there too.
master: https://github.com/emberjs/ember.js/pull/15502 (green + merged) beta: https://github.com/emberjs/ember.js/pull/15504 (running) release: https://github.com/emberjs/ember.js/pull/15505 (running)
cc @rwjblue