- Issue created by @vitalius2009
- First commit to issue fork.
- heddn Nicaragua
Thanks for the contribution. I've added a test that will help us catch this in the future.
Automatically closed - issue fixed for 2 weeks with no activity.
Some time ago on one of my site I found that the module don't work properly. Arguments from URL were getting incorrectly in code. I debugged this part of module's code and I found that array_pop in UrlPath.php gets incorrect element of parameters array.
When we use getRawParameters function in previous string before array_pop, we get this order of array elements:
arg_1
arg_0
view_id
display_id
So, array_pop receive display_id element. And it is wrong.
When we replace getRawParameters with getParameters the order array elements become correct:
view_id
display_id
arg_1
arg_0
and array_pop gets the correct element now.
I am not sure that this solution is correct. And I don't realize why it happened, but it works now.
(Patch is in next comment).
Active
1.0
Code
Thanks for the contribution. I've added a test that will help us catch this in the future.
Automatically closed - issue fixed for 2 weeks with no activity.