-
-
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
Dynamic Segments / Query Params / Loading State Produces error with cacheValuePrefix
#11857
Comments
@jmurphyau - Do you happen to have a little time to look into this one? |
Yep - will do |
Just hit this snag as well. Any way I can help expedite a fix? |
@mike-north - I'd start along these lines:
Any or all of the above items would be super helpful. |
I seen that the issue is with I didn't want to just chuck that check in and in doing so potentially hiding the actual problem.. Haven't had a chance yet but should get to this over the next few days |
So I don't think |
Fixed an issue where cacheValuePrefix would incorrectly check "valA in valB" where valB would be null Resolves Issue emberjs#11857
The result of As far as I can trace back, |
If a route has a Dynamic Segment, a query parameter, a Child Route with a slow-loading model and a loading template, an error occurs when a non-default query parameter is provided.
Please see http://emberjs.jsbin.com/xahiwi/edit?html,js,console,output
Clicking on the "CLICK ME!" button produces the error
TypeError: null is not a valid argument for 'in' (evaluating 'cacheValuePrefix in values')
Error occurs here: https://github.com/emberjs/ember.js/blob/v1.13.5/packages/ember-routing/lib/ext/controller.js#L155
This error does not occur in
1.13.2
, but occurs in1.13.3
and after.Likely culprit is: 78c0edb
The text was updated successfully, but these errors were encountered: