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

Friendly URL not used by Web Content when displayed from a Display Page


    • Flagged:
    • Story Points:
    • Fix Priority:


      Web Content should display using its canonical/friendly URL when displayed from a Display Page's Asset Publisher. Using Liferay Portal 6.1 describes the expected behavior in Setting Up Display Pages (http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/lp-6-1-ugen03-display-settings-0).

      1. Add a Page named "Content Display Page Test", selecting the Content Display Page template.
      2. Manage the Page, choose "Content Display Page Test", select Hidden, uncheck Automatically apply
      changes done to the page template Content Display Page. Click save.
      3. Add a Web Content instance named "Solar Flares" to the portal.
      4. Edit the Web Content and select Display Page on the right.
      5. Select the "Content Display Page Test" page as the Web Content's Display Page.
      6. Save the Web Content.
      7. Go to any page that has an Asset Publisher--except the "Content Display Page Test" display page. Click configuration for the Asset Publisher. In the Display Settings, select the "Abstracts" view type and choose the "View in a specific portlet" Asset Link Behavior. Save the configuration and close the Configuration window.
      8. Select the Web Content's "View" link from that Asset Publisher.

      Expected result:
      Web Content's URL starts with the friendly URL http://localhost:8080/web/guest/-/solar-flares

      If you don't configure the Asset Publishers asset link behavior to be "View in a specific portlet" the friendly URL will not be used when you click on the Web Content instance. The resulting URL will go to the full content URL like this:


          Issue Links



              • Assignee:
                luyang.tan Luyang Tan (Inactive)
                james.hinkey James Hinkey
                Participants of an Issue:
                Recent user:
                Marta Elicegui
              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created:
                  Days since last comment:
                  7 years, 3 weeks, 4 days ago


                  Version Package
                  6.1.30 EE GA3