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

Multisite cross siteaccess links won't work with different languages

    Details

      Description

      The fix proposed for EZP-24470 won't work with the site uses different languages.

      Steps to Reproduce

      • Install eZ Publish with two different languages (ex.: English and Portuguese)
      • Create a the following folder structure "AAA\AAB"
      • Now create the article "AAA\AAB\Article-001"
      • Create a new translation for the "AAB" folder and name it "WHATCANIDO"
      • Create a new translation to "Article-001" but don't change its name
        Edit
      • Edit the template for full view of the article, and add the following line (assuming the node_id of "Article-001" is 126

        {{ url( 'ez_urlalias', {'locationId': 126, 'siteaccess': 'site'} ) }}
        

      • Edit ezpublish.yml and set the location_id to be the "AAB" folder in the site siteaccess
      • Open http://your-site.com/AAA/AAB/Test-001 and confirm the result will be http://your-site.com/site/Test-001
      • Open http://your-site.com/site/Test-001 and confirm the result will be http://your-site.com/site/Test-001
      • Open Http://your-site.com/ger/AAA/WHATCANIDO/Test-001 and confirm the result will be http://your-site.com/AAA/AAB/Test-001

        Issue Links

          Activity

          Show
          Joao Inacio (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/1368
          Show
          Joao Inacio (Inactive) added a comment - Merged in master: https://github.com/ezsystems/ezpublish-kernel/commit/baf69d58bb72b2bf926f87dd6c8bb3de5aff1f05
          Hide
          Paulo Nunes (Inactive) added a comment -

          QA Approved

          Show
          Paulo Nunes (Inactive) added a comment - QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Eduardo Fernandes (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: