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

Portlets inside portlets don't render properly



      Reproduction Steps:

      1. Set 6.2 with portal-156 and start the portal
      2. Go to Content and create a structure and add a field to it
      3. Create a velocity template to the new structure and add the following code:
        then uncheck the "Cacheable" option then save it.
      4. Create a web content based on the new structure.

      5. Create a simple portlet with the following context in its view.jsp (or deploy the attached portlet):

      <%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
      <%@ taglib prefix="liferay-portlet" uri="http://liferay.com/tld/portlet" %>
      <%! String bbpId= "${getInstanceId}";%>
      <div class="row">
          <div class="col-xs-12">
              <liferay-portlet:runtime portletName="56_INSTANCE_bbp${bbpId}" />

      6. Create a Page 
      7. Add a web content display to the Page.
      In the web content display select the created web content.

      8. Add the deployed Portlet to the Page. 
      9. The portlet will show its embedded webcontent display portlet, select the created webcontent

      Checkpoint: The information in both portlets, are the same and the CURRENT_COMPLETE_URL is present in both.

      10. Stop the portal and install portal-157 or newer fixpack then start the portal the access the page

      Checkpoint: CURRENT_COMPLETE_URL is missing from the embedded portlet.


          Issue Links



              • Votes:
                0 Vote for this issue
                0 Start watching this issue


                • Created:
                  Days since last comment:
                  2 years, 33 weeks, 4 days ago


                  Version Package
                  6.2.X EE