question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

getOwner(this) is sometimes returning undefined after ember-2.14.0-beta2

See original GitHub issue

This 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:closed
  • Created 6 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
krisseldencommented, Jul 14, 2017

@stefanpenner just checked Release 35 (Safari 11.0, WebKit 12604.1.29) it is fixed there too.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found