Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24399

UrlAliasGenerator does not consider root Location for a given siteaccess

    Details

      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.

        Issue Links

          Activity

          Show
          Joao Inacio (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/1282
          Show
          Yannick Roger (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/ea0237179186c9e8b8f3d0ec19a5e821647af80a https://github.com/ezsystems/ezpublish-kernel/commit/22c31eb19d2934662a11ed5424c36e2faccb212c
          Hide
          Miguel das Neves Jacinto (Inactive) added a comment -

          QA Approved

          Show
          Miguel das Neves Jacinto (Inactive) added a comment - QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Petar Spanja (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: