-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[0.7.2] Cannot read property 'name' of null #323
Comments
😱 |
or getting unset by something. I just feel you need a “to” to resolve a transition. |
I also think like you, but... that's what happens. :( It might be a bug in Ember, not sure. But yes, for now a workaround would be nice. :) |
Just experienced the exact same issue, downgrading to 0.6.9 fixed things. |
Yep, same issue here. This certainly is a weird one. |
had a swamped day today, sorry. Just need to put checks around it, and get a release out to unblock. Will get this out in the morning. |
Sorry, got swamped by some things. I’ll get this check in. and that line shouldn’t be triggering this, cause the to and from are set right below before they transition |
My transition wasn't working, debugging led me to that Downgrading |
…eed to gaurd against that. fixes #323
@lolmaus @boris-petrov @Duder-onomy @bitwolfe released I think this was happening when a transition is aborted when first loading the application and there isn't a I didn't have that much time to a reproducible test, and wanted to get this out first (only had a few mins this morning). But we should get that in soon. |
sorry this took so long for me to get to 😞 |
Yes, that's our case. |
Uhm, on |
..?? |
@lolmaus what line? |
@webark Same as in the top post. |
lines where added though.. can you paste the line from the code? (with like 2 above and 2 below) |
ohhh.. default argument assignment only checks undefined and not null.. sometimes the whole null vs undefined thing is infuriating.. umm. well, i’m gone for the weekend, do this will have to wait till monday or sunday night :/ sorry. |
A proper test would be nice too. PS Please reopen. |
I can confirm that this happens on first entry into the application when that first transition is aborted. |
this should be fixed now with #326 |
ok. try Sorry for the back and forth with this. |
I can confirm 0.7.4 fixes things for me. |
sweet! |
Thanks for fixing the other issue. The new version, however, has a similar issue:
nestedRouteNames
is called withtransition.to
which, again, isnull
.The text was updated successfully, but these errors were encountered: