-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"You attempted to update length on Class" on ember canary #172
Comments
mydea
changed the title
Breaks on Canary
"You attempted to update length on Class" on ember canary
Sep 1, 2020
This should be resolved with #168 or related prs. |
@knownasilya - Ember 3.22 is out and this error prevents us from upgrading to it. Is a new version of |
Looking to see if a release can happen tonight. Will update you here. |
v6 should be out now. |
@knownasilya - thank you for the immediate response! Works like a charm, thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All my tests for an addon started failing on canary recently. After doing some digging, it seems it is caused by this addon.
Basically, if I remove the
{{title}}
declaration in my index route template:Everything works again. If there is at least one
{{titlte}}
anywhere, I get:Error: Assertion Failed: You attempted to update
length
onClass
, but it had already been used previously in the same computation. Attempting to update a value after using it in a computation can cause logical errors, infinite revalidation bugs, and performance issues, and is not supported.The text was updated successfully, but these errors were encountered: