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

Cross Siteaccess links not working properly



      Currently if you try to generate a cross siteaccess link the path of the target siteaccess isn't cut off from the generated Url.

      This is caused because rootLocationId in here https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/Core/MVC/Symfony/Routing/Generator/UrlAliasGenerator.php#L109 is set to the current siteaccess's locationId.

      Therefore the wrong path prefix is generated.

      Somehow rootLocationId in this context should be set for the specified target siteaccess and not used from here https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Bundle/EzPublishCoreBundle/EventListener/RoutingListener.php#L57

      See my dirty hack (don't fix it this way): https://gist.github.com/bennyklotz/85747cd3b08ab963580e

        Issue Links


          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          3m 27s 1 jerome.vieilledent@ez.no 10/Oct/14 11:42 AM
          Confirmed Confirmed InputQ InputQ
          53d 6h 9m 1 André Rømcke 02/Dec/14 4:52 PM
          InputQ InputQ Development Development
          205d 16h 6m 1 jerome.vieilledent@ez.no 26/Jun/15 9:59 AM
          Development Development Development Review done Development Review done
          6d 5h 31m 1 jerome.vieilledent@ez.no 02/Jul/15 3:30 PM
          Development Review done Development Review done Documentation Review done Documentation Review done
          4s 1 jerome.vieilledent@ez.no 02/Jul/15 3:31 PM
          Documentation Review done Documentation Review done QA QA
          38m 53s 1 miguel.jacinto@ez.no 02/Jul/15 4:09 PM
          QA QA Closed Closed
          48m 6s 1 jerome.vieilledent@ez.no 02/Jul/15 4:58 PM


            • Assignee:
              Benjamin Klotz
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: