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
Move FrontController::updateQueryString
to Tools
to make reusable
#33779
Move FrontController::updateQueryString
to Tools
to make reusable
#33779
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there ! 👋
I don't think moving code from FrontController to Tools helps the migration but I'm not against it.
If you want to do so, I think you should deprecate the old function as well, so it can be removed in next versions. As well as updating all the code using this function inside the project.
is a protected method, We need realy to add deprecated flag ? |
Absolutely, because a child class can use it. This is covered by the BC promise. Only the private methods don't need it :) |
Oh yeah ! Done |
Some usages still need to be replaced, and then all good for me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting changes because of the bot
@FabienPapet, where do you see other usages in the core? unless you meant the Faceted Search module? (which should not block the PR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok for me! But just a little comment :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to apply @boherm 's feedback or should we merge ?
@matthieu-rolland I'm not blocking this PR, so we can merge as is. ;) |
QA approved, well done! Message to the maintainers: do not forget to milestone it before the merge. |
After some checks, it's good for me :) Thanks |
@M0rgan01 don't forget the milestone |
FrontController::updateQueryString
toTools
and make reusable.