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 Inspector causing "Assertion Failed: Illegal set of identifier"

See original GitHub issue

Describe the bug

After experiencing random cases of the Assertion Failed: Illegal set of identifier error I looked for any information and ended up on this StackOverflow question and more specifically this comment by HappyDude stating that this error can sometimes be caused by Ember Inspector.

I disabled Ember Inspector and it fixed the issue.

One element I can add is that the model causing the issue appeared twice in the inspector Data tab.

To Reproduce

I’m very sad and sorry not to be able to give any useful reproduction steps as it happens randomly.

Environment

Ember: 3.28.8 Ember Data: 3.28.6 Ember Inspector: 4.5.11 Firefox: 95.0.2 (64-bit) on a Mac


Taking the opportunity to thank all the team working on this otherwise wonderful tool that Ember Inspector is ❤️

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:13
  • Comments:17 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
Techn1xcommented, May 26, 2022

burned a few hours trying to figure out the cause of this one as well 😦

it’s a bit of a double whammy because the tools you use to debug, like ember inspector, are the last thing you expect to be causing issues

1reaction
patricklxcommented, Oct 2, 2022

fhis has been fixed now in ember and ember data. The ember data fix has also been backported. The fix in ember might also be required. If you still see this issue comment on https://github.com/emberjs/ember.js/pull/20127 for a backport

Read more comments on GitHub >

github_iconTop Results From Across the Web

EmberJS Data Assert in setRecordDataFor "Illegal set of ...
Ember inspector in dev tools seems to cause this sometimes. Disabling it (or even clicking away from the tab in dev tools and...
Read more >
EmberJS Data Assert in setRecordDataFor "Illegal set of ...
Ember inspector in dev tools seems to cause this sometimes. Disabling it (or even clicking away from the tab in dev tools and...
Read more >
Ember 1.8: "You must use Ember.set() to set the property"
This error is only triggered when the property is being watched (by an observer or computed property). Code setting up the mandatory setter ......
Read more >
NGINX App Protect WAF Configuration Guide
Setting, JSON Property in Policy, Support in NGINX App Protect WAF ... error_log /var/log/nginx/error.log debug; events { worker_connections 65536; } ...
Read more >
COVID-19 Vaccination and Testing; Emergency Temporary ...
In August 2021, COVID-19 was the third leading cause of death in the ... to work is prone to human error and entirely...
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