ember.js icon indicating copy to clipboard operation
ember.js copied to clipboard

Add a failing test for query params cache with resetNamespace

Open wagenet opened this issue 6 years ago • 4 comments

The basic issue here is that the cache key calculator uses the current route name to determine the prefix for the key which enables a correct value lookup. However, if you use resetNamespace the prefix won't match and it calculates the prefix incorrectly. In this example, it will try get the value from parent.child.child_id (IIRC) and instead of that getting the value of child_id from the parent.child route, it will try to get the value of child.child_id from the parent route.

wagenet avatar Jan 08 '19 21:01 wagenet

@wagenet is this still relevant?

locks avatar Feb 05 '22 19:02 locks

@locks I just rebased. Looks like CI still fails.

wagenet avatar Feb 07 '22 17:02 wagenet

Is this still relevant?

kategengler avatar Dec 12 '23 17:12 kategengler

I just rebased, lets see if it still fails!.

wagenet avatar Jan 10 '24 21:01 wagenet