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

Wrong first URL generation in exotic languages

    XMLWordPrintable

Details

    Description

      When creating a page in a specific language, not manageable in the URLs (exemple : arabic, korean), the URL generated will be a simple number, in the order of creation. If you create a first page, it will be /1, a second it will be /2, etc.

      The problem is, the first one, the /1 URL will not work and the URL generated will be the URL of the content in this language will be the one of the parent node, and thus the page will be inaccessible in the front part of the site, and the links to it will get you to the parent page. In the BO, you will also see the wrong URL in the URL tab for the content.

      eZ seems to not even generate the first URL as I cannot find it in the ezurlalias_ml, contrary to the /2, /3, etc.

      Steps to reproduce:

      • In the Home location (2), create folders named with only non-latin characters, like Japanese, Chinese, Arabic, whatever.
      • The first such folder will have empty URL alias, and will therefore be impossible to click to access, at least in the frontend.
      • The second such folder in the same location will have the URL alias "2", so it will be accessible.
      • After the fix, and republishing, the first folder will have the URL alias "1", and be accesssible.

      Attachments

        Activity

          People

            Unassigned Unassigned
            amval@smile.fr amval@smile.fr
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours
                1d 3h