Details
-
Bug
-
Resolution: Fixed
-
High
-
5.3.5, 5.4.2
Description
UrlAliasGenerator::doGenerate() can optionally accept a siteaccess through its $parameters array. This is different from a current siteaccess and is used to generate links for language switcher.
If siteaccess is passed in this way, root Location of the given siteaccess will not be used, but root Location of the current siteaccess will be used instead. If siteaccesses have different root Locations, that will result in generating incorrect URLs.