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

Cross site access links include the url_alias for the first level

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 5.4.1
    • None

    Description

      When we try to link from one siteaccess to another we have a strange issues whereby the first level in the path includes the url_alias.
      This is expected to be treated typically as a / or the name of the siteaccess, but we get the name of the url_alias.

      This causes link cross site to not work as expected.

      We have used the following twig function in our twig file:

      url( 'ez_urlalias', {'locationId': locationId, 'siteaccess': 'myOtherSiteAccess'} )
      

      Siteaccess default has treeNode set to for example = 10
      Siteaccess myOtherSiteaccess has treeNode set to for example = 80

      When we generate a link standing on the default siteaccess the new link includes the name of node80 in myOtherSiteAccess. This is not expected.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              larseirik.ronning@makingwaves.no larseirik.ronning@makingwaves.no
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: