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

Alias automatic redirect not working in multilaguage site after rename

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Invalid
    • Affects Version/s: 5.4.6
    • Fix Version/s: Customer request
    • Component/s: Legacy stack, Misc
    • Labels:
      None

      Description

      If you have a multi language site, the automatic redirect wont work as expected if you rename the parent object.

      Requisites

      • Install eZ with two languages: POR & ENG
      • Make sure ENG is the default siteaccess
      • Create the "Folder #ENG" folder
      • Create the "Folder #ENG/Article #001" article
      • Create a translation for "Folder #ENG" in Portuguese and name it "Folder #BRA"
      • Rename the "Folder #ENG" in English to "Folder #ENG1"

      Steps to reproduce

      Open http://your-site.com/Folder-ENG/Article-001
      Expects: redirect to http://your-site.com/Folder-ENG1/Article-001
      Gets: redirect to http://your-site.com/Folder-ENG1/Article-001

      Open http://your-site.com/por/Folder-ENG1/Article-001
      Expects: redirect to http://your-site.com/por/Folder-BRA/Article-001
      Gets: no redirect

      Open http://your-site.com/por/Folder-ENG/Article-001
      Expects: redirect to http://your-site.com/por/Folder-BRA/Article-001
      Gets: redirect to http://your-site.com/por/Folder-BRA/Article-001

      You may use the command below to inspect the table:

      SELECT * FROM ezurlalias_ml WHERE action like "eznode:%" ORDER BY id DESC LIMIT 20;

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: