Closed (fixed)
Project:
Drupal core
Version:
8.7.x-dev
Component:
routing system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2018 at 17:45 UTC
Updated:
30 Nov 2018 at 13:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
geek-merlinPatch flying in that worksforme.
Comment #3
vj commented@axel.rutz Yeah patch works, Just a thought what if fragment added then this patch not works.
Comment #4
geek-merlin> what if fragment added then this patch not works.
Good point! Improved patch flying in.
Comment #5
geek-merlinAlso removed now obsolete use statement.
Comment #6
geek-merlinUps, got the array_replace the wrong way round.
Comment #7
dawehnerHere is a test for this fix.
Comment #9
msankhala commentedHere is a patch with fix and test from #6 and #7 including minor fix.
Comment #10
goodboy commented$query = $request->query->all();is not usedComment #11
msankhala commented@goodboy Thanks for the review. Here is the updated patch.
Comment #12
surbz commentedThanks @goodboy for the review.
Thanks @msankhala for the patch, I tested it out your patch applies cleanly and works well just correcting the minor grammatical error and uploading the new patch along with interdiff
Comment #13
msankhala commentedThis new patch is making the comment to exceed 80 characters.
Comment #14
surbz commentedThanks @msankhala for noticing that, this reminds me to notice coding standard errors in 'PathProcessorFrontTest.php' as well.
Correcting both and uploading the new patch.
Comment #15
borisson_This looks great and has test-coverage. RTBC.
Comment #16
catchI'm not entirely sure why we need to merge the query parameters, and 'merge frontpage query to URL query' isn't grammatically correct - it should be 'with' instead of 'to', but what is the front page query?
Comment #17
catchComment #18
goodboy commentedChange this comment as I understood.
Comment #19
voleger#18 addressed #16
Comment #21
catchOK that's much better.
Committed 920eb06 and pushed to 8.7.x. Thanks!