-
Notifications
You must be signed in to change notification settings - Fork 13
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
IBX-6195: Made URL_ALIAS_ROUTE_NAME
calls inside MVC\Symfony\Routing\UrlAliasRouter
static
#246
Conversation
…ng\UrlAliasRouter` static
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.
Ideally at some point we should refactor this to have an interface or proper abstract instead of relying on a const.
+1 of course for the quick fix.
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.
But please, do the same for \Ibexa\Core\MVC\Symfony\Routing\UrlWildcardRouter
…g\UrlWildcardRouter` static
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
The issue no longer occurs, references to ez_urlalias
and ibexa.url.alias
are working correctly - approved!
v4.0
Classes that extend the core's
UrlAliasRouter
should properly handle their own route names (like https://github.com/ibexa/compatibility-layer/blob/main/src/lib/Routing/UrlAliasRouter.php).Checklist:
$ composer fix-cs
).@ibexa/engineering
).