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.

Assertion failing in Ember beta/canary attempted to remove a function listener

See original GitHub issue
  • I am on the latest ember-intl version
  • I have searched the issues of this repo and believe that this is not a duplicate

Tests in my addon are failing against beta/canary with the message Error: Assertion Failed: You attempted to remove a function listener which did not exist on the instance, which means you may have attempted to remove it before it was added. wheverever the {{t}} helper is used. Since the same tests are failing on master here I didn’t dig too much further just opening this issue for discussion and for others to find.

Steps to Reproduce

Run ember-intl tests against beta/canary for example: https://travis-ci.org/ember-intl/ember-intl/jobs/639709922#L605

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jrjohnsoncommented, Jan 28, 2020

Thanks @kturney!

1reaction
jasonmitcommented, Jan 28, 2020

Resolved in 4.2.3 thanks to @kturney !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting "Error: Assertion Failed: calling set on destroyed object ...
After destroyRecord , the record is gone and the deletion cannot be rolled back. The catch clause will just catch a server error....
Read more >
Assertion Error : App Version has already been registered
Im using ember to develop a project. Please help me with this error. Im unable to run my project on local. After hitting...
Read more >
Instead of setTimeout, use run.later | Async testing - EmberMap
run.later is a function provided by Ember that is equivalent in functionality to ... test('I can delete a blog post', async function(assert) {...
Read more >
ember-qunit | Yarn - Package Manager
ember -qunit simplifies testing of Ember applications with QUnit by providing ... #972 Add support for Ember v4, drop support for < Ember...
Read more >
Ember.js Octane vs Classic Cheat Sheet
See side-by-side examples of Ember Octane and Ember Classic. ... default class MyComponent extends Component { willDestroy() { // Remove event listener }...
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