-
-
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
[BUGFIX release] Sticky query params for nested and for dynamic routes #11535
Conversation
Wasn't sure if I was to use [BUGFIX release] since it's not an 'urgent' fix (or is it?).. Even though this bug exists in release, is this a case where I would use [BUGFIX beta] because the fix will actually be released in beta (not because its fixing a bug that exists/originated from beta?) |
17ca40b
to
6a264ff
Compare
If this is an issue affecting |
"In general bug fixes are pulled into the beta branch. As such, the prefix is: [BUGFIX beta]. If a bug fix is a serious regression that requires a new patch release, [BUGFIX release] can be used instead." So in other words if this bugfix will be released in a future 1.13.x it should have [BUGFIX release] - but if say we were at 1.14.0-beta.1 and the bug fix wasn't that serious (which this one doesn't seem to be - or am I understanding that incorrectly?) it would be [BUGFIX beta] and released in 1.14.0-beta.2 and eventually 1.14.0.. And since 2.0.0 is a big release this fix should go into the 1.13 stream.. Have I understood that correctly? |
6a264ff
to
9f46dc2
Compare
@jmurphyau - Yes, I think that is a pretty good explanation of our current situation. Basically, if we were continuing the 1.x series this would definitely be |
This looks good to me. My only concern is the extreme test bloat. Is there any way it can be consolidated with other tests (possibly generating a different module and tests based on changed config within a loop)? |
I was actually thinking about that after I was done - wasn't happy with the tests.. I was thinking the same as you - define the tests once and execute them 6 times, rather than copied/pasted 6 times. Whether that be by function definitions or a loop same same. I'll find some time and refactor. |
I'm 👍 |
Fixed query params not being sticky for nested routes Fixed query params not working for multiple routes that each have a dynamic segment Previous only 1 dynamic segment was working correctly
9f46dc2
to
ea004a5
Compare
Managed to get the test code down best I could:
|
[BUGFIX release] Sticky query params for nested and for dynamic routes
I cherry-picked into beta just fine, but when I attempted to cherry-pick this into the stable branch there were a number of conflicts (because stable branch does not have the route QP work that @trek did). @jmurphyau - Would you be able to submit another PR with the changes that apply to "controller-land" against the stable branch directly? |
Ok cool - will do |
Done - See PR #11636 |
Fixed query params not being sticky for nested routes
Fixed query params not working for multiple routes that each have a dynamic segment (which fixes #10838)
Previously only 1 dynamic segment was working correctly