-
Notifications
You must be signed in to change notification settings - Fork 62
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
Uncaught TypeError: Cannot read property 'previousSibling' of null #12
Comments
Ok I didn't manage to replicate it in a jsbin (don't know if/how it's possible to load the addon there) but here's a really simple example app: https://github.com/piotrpalek/wormhole-bug which shows the bug. You have to run the app and click the |
@lukemelia I saw you looked at a similiar issue (#9) do you think this could be also ember related? |
This should have been fixed with emberjs/ember.js#11425 but you are hitting it in 1.13.1? If so, I'd love some help tracking it down. If you could make a jsbin or fiddle replicating it would be greatly appreciated. Also, if you can set a breakpoint in wormhole willDestroyElement to see if it is being called twice and include the stack trace of both calls that would be helpful. |
@krisselden yes even in 1.13.2, I provided a link above to an example app, I am not sure how to setup a jsfiddle with an ember-cli addon (in this case ember-wormhole). Do you have some base jsbin (ember+wormhole) where I could show the bug, assuming the above github repo isn't enough? |
@krisselden so the
|
@piotrpalek thanks, this is definitely then a wormhole bug. Do you want to submit a PR? I know that this code handles this case https://github.com/krisselden/morph-range/blob/master/lib/morph-range/utils.js#L10-L14 |
@krisselden I've made a PR, but as noted there, I tried to write a test for this but when I bumped the ember version to 1.13 in the addon, other tests were breaking as well. So I couldn't really test this without fixing all of them. |
Move ember-cli-version-checker back to dependencies
Hey I was trying to port my app to ember 1.13.1 and started getting this error when transitioning to other routes. I will try to make a jsbin later on, just posting this in case it is something known.
The error occurs here:
The text was updated successfully, but these errors were encountered: