Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-117460

Strange behaviour with alternates URLs in display pages.

    Details

      Description

      Description

      The alternates URLs of the Display Page Templates doesn't follow the friendly URL configured in the Web Content Editor.

      Steps to Reproduce

      1. Create web content and translate it into another language. For example:
         - title: English (en-US)
         - title: Espanol (es-ES)
      2. Create a Display Page Template for basic web contents and mark it as default
      3. Create a page with an asset publisher
      4. Access as an anonymous user to the page with the display page and click it.
      5. List metadata associated with the page.

      Expected result

      The alternate es-ES URL should be 

      <link data-senna-track="temporary" href="http://localhost:8080/-/espanol" hreflang="es-ES" rel="alternate">

      Actual result

      The alternate es-ES URL is http://localhost:8080/es/-/english

      <link data-senna-track="temporary" href="http://localhost:8080/es/-/english" hreflang="es-ES" rel="alternate">

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              cristina.gonzalez Cristina Gonzalez
              Participants of an Issue:
              Recent user:
              Jason Pince
              Engineering Assignee:
              Alejandro Tardín
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                12 weeks, 6 days ago

                  Packages

                  Version Package
                  7.3.5 CE GA6
                  7.3.10 DXP GA1
                  Master