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

The canonical URL specified as JavaScript of a web content detail page "generated" with a display page is wrong

    Details

      Description

      Steps to reproduce

      1. Create a display page (DP1) for Basic Web Content, adding fragments and mapping the title and content
      2. Make it the default 
      3. Create 1 web content of type basic web content. 
      4. Copy the friendly URL of the web content and and paste it to the browser bar
      5. You should see the the web content title and content
      6. Check the source code and look for the Liferay.ThemeDisplay javascript object. Specifically the result of getCanonicalURL()

      Expected

      The canonical URL should be the one for the specific web content being displayed

      Actual

      The canonical URL is something like http://localhost:8080/web/site-name/asset-display-page

        Attachments

          Activity

            People

            Assignee:
            kyle.miho Kyle Miho
            Reporter:
            jorge.ferrer Jorge Ferrer (Inactive)
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 24 weeks, 5 days ago

                Packages

                Version Package
                7.1.10 DXP FP1
                7.1.X
                Master