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.

Ember 2.18 regression - TargetObject refactor breaks action propagation with target property defined

See original GitHub issue

Came across an odd situation trying out 2.18.0-beta.2 in our app where the action we fire to close modals no longer work. I traced it to, I think, this change to how getTarget finds the target of an action. It seems that if the object that invokes the action has a target property defined on it for whatever reason the action gets swallowed.

For our case I traced it to where ember-modal-dialog has a target property on its base component, but I was also able to create this very bare bones twiddle to reproduce the problem. If you comment out the target property on the component in the twiddle you’ll see the action correctly propagate and show an alert but with the property in place clicking the link does nothing.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rwjbluecommented, Dec 11, 2017

Thanks for reporting. I’m traveling today and likely won’t habe a ton of time to dig in, but it does sound like a regression to me. Thanks for testing beta and reporting before the regression is released!

0reactions
sandstromcommented, Mar 20, 2021

I’m doing some issue gardening 🌱🌿 🌷 and came upon this issue. Since it’s quite old I just wanted to ask if this is still relevant? With the new glimmer / angle bracket components being “the future”, maybe we can close this issue?

By closing some old issues we reduce the list of open issues to a more manageable set.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ember Changelog - GitHub
Ember.js - A JavaScript framework for creating ambitious web applications ... #17570 [BUGFIX] Passing ObjectProxy with a property size to isEmpty would ...
Read more >
Source - GitHub
Ember Changelog ### v4.9.0-beta.4 (November 15, ... deprecate-implicit-injection-on-target-object) and cleanup related deprecations that are `until: 4.0.0`.
Read more >
UDN Search
this article will hopefully explain how to update your xulrunner application using the same method that firefox, thunderbird, songbird, and chatzilla use. ......
Read more >
FreeBSD Ports Collection Index
FreeBSD Ports Collection Index. 0verkill-0.16_1 -- 0verkill is a bloody 2D action deathmatch-like game in ASCII-ART 2bsd-diff-2.11 -- 2.11BSD diff utility
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