-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Getting "Uncaught Error: infinite rendering invalidation detected" with 2.9-beta3 #14351
Comments
this seems to happen with class based helpers (e.g. |
I can reproduce locally on ember-promise-helpers with |
This is something I am encountering quite often in my test suite. Seems related to |
@fivetanley I originally opened #14456, but I think it may be a dupe of this (although I see this in Ember 2.8, not just 2.9) This is the twiddle: https://ember-twiddle.com/18b75f7761ba740567c1829660ce28e1?openFiles=templates.application.hbs%2C To reproduce simply goto the application.hbs, and add the final {{/if}} (warning this will cause your browser and computer to cry) |
I'm no longer seeing this error in my application with the release of 2.9.0. I'm inclined to close this as having been resolved elsewhere. @fivetanley or @snewcomer - are you still seeing this issue in 2.9.0? |
@jrjohnson That's because 2.9.0 is basically 2.8.3. It does not use the new glimmer 2 rendering engine. @chancancode and I tracked this one down and I owe him some failing tests 😄 |
Ah! I didn't know that. I thought 2.9.0 included glimmer2 - I obviously missed that critical announcement. I will leave this open then. Thanks. |
This pulls in two glimmer-engine bugfixes: - local variables (block params) should always win over helpers - stateful/class-based helpers used in `{{#if (my-helper ...)}}` and other block arguments position are destroyed when the block syntax switches from default to inverse (and vice versa) Fixes emberjs#14351, emberjs#14413
This pulls in two glimmer-engine bugfixes: - local variables (block params) should always win over helpers - stateful/class-based helpers used in `{{#if (my-helper ...)}}` and other block arguments position are destroyed when the block syntax switches from default to inverse (and vice versa) Fixes emberjs#14351, emberjs#14413
This pulls in two glimmer-engine bugfixes: - local variables (block params) should always win over helpers - stateful/class-based helpers used in `{{#if (my-helper ...)}}` and other block arguments position are destroyed when the block syntax switches from default to inverse (and vice versa) Fixes #14351, #14413 (cherry picked from commit 8c87e50)
I believe this is fixed in #14520. I verified that it at least fixed @adam-knights' gist. @fivetanley @jrjohnson can you confirm? (The fix is available in |
The actual fix (and tests) are in glimmerjs/glimmer-vm#337 |
@chancancode quick click around in my app and this appears to be fixed in |
@chancancode I'm running |
I am getting this error now when testing Ghost-Admin on 2.10.0-beta.3. Tried going to 2.10.0-beta.2 as well, with the same result. |
@acburdine are you able to reproduce this consistently? could you write down some instruction on how to reproduce it? |
yup - happens every time I render the page. Repro steps:
Currently I'm drilling down as to the cause of this. I think I've got it narrowed down to a specific component that's doing a |
@Turbo87 I think I figured it out - the component I mentioned above was using some old code borrowed from ember-cli-active-link-wrapper and I'm assuming that's what broke it. Updating to use the actual ember-cli-active-link-wrapper addon fixed the issue |
hmm, I'm using |
Does anyone know some specific lines of code that are causing this issue? We have this error in a bunch of our tests, and I am not sure what is causing it. |
Similar issues in the above |
Also seeing this error after I updated to the latest cli version using ember-source. Seeing it in my app. Ember 2.12.2 For me it was machty/ember-concurrency#134 |
In attempting to test compatibility with ember-beta I'm seeing an issue. With 2.9-beta2 I was getting a white screen with no ember container and no content rendered. With beta3 I'm getting a flash of the content followed by a white screen, but now I'm seeing the error "infinite rendering invalidation detected" in the console.
Code (with updated ember) is here:
https://github.com/ilios/frontend/tree/ember-beta-test
Demo which shows error can be seen here:
https://ember-beta-test--ilios-frontend.netlify.com
It does not show up on the login page, only post-authentication so you have to login. You can do so with:
username:
demo_faculty1
password:
demofaculty1
The error seems to be present on every route.
I also tried a build with #master but it has the same error. I'm not sure how to track down where the issues is occurring because the stack trace is just full of ember-debug lines, but I'm happy to provide any info or help. I think my next step is to start pulling out individual addons to see if I can find a culprit unless someone else has seen this error or knows about it already. It seems strange that the /login is not affected, but every other route is.
The text was updated successfully, but these errors were encountered: