Skip to content
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

Add a failing test for query params cache with resetNamespace #17452

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wagenet
Copy link
Member

@wagenet wagenet commented Jan 8, 2019

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 wagenet force-pushed the query-param-cache-reset-namespace branch 2 times, most recently from fb33712 to 9f45268 Compare March 8, 2021 22:39
@locks
Copy link
Contributor

locks commented Feb 5, 2022

@wagenet is this still relevant?

@wagenet wagenet force-pushed the query-param-cache-reset-namespace branch from 9f45268 to 043f85c Compare February 7, 2022 17:05
@wagenet
Copy link
Member Author

wagenet commented Feb 7, 2022

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

@kategengler
Copy link
Member

Is this still relevant?

@wagenet wagenet force-pushed the query-param-cache-reset-namespace branch from 043f85c to da5ba58 Compare January 10, 2024 21:59
@wagenet
Copy link
Member Author

wagenet commented Jan 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

3 participants