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

The display page template doesn't display content after upgrade



      Step to reproduce:

      1. Start 7.1 portal
      2. Site Administration > Build > Page Fragments
      3. Add a new collection
      4. Add a fragment
      5. Insert the following codes in <div> tags of HTML section
             <lfr-editable id="title" type="text">Inline Content</lfr-editable>
      6. Publish
      7. Site Administration > Build > Pages > Display Pages tab
      8. Add a display page template
      9. Add the new fragment to display page template
      10. Click editable field > Map
      11. Select Web Content Article and Basic Web Content > Select Title
      12. Publish the display page template
      13. Click the ellipsis button of display page template
      14. Mark As Default
      15. Site Administration > Content > Web Content > Web Content tab
      16. Add a WC based on Basic Web Content
      17. Type WebContent as title
      18. Publish
      19. Access to http://localhost:8080/web/guest/-/webcontent
      20. Assert WebContent is shown in display page template
      21. Shutdown server
      22. Upgrade to master
      23. Start portal
      24. Sign In
      25. Access to http://localhost:8080/web/guest/w/webcontent

      Expected Results:
      The WebContent is shown in display page template

      Actual Results:
      The WebContent is not shown in display page template.

      1. Site Builder > Page Templates > Display Page Templates
      2. Assert the display page template has Approved label
      3. Click the title of display page template
      4. Click the back icon
      5. The status of display page template becomes Draft
      6. Click the title of display page template
      7. Publish the display page template
      8. Access to http://localhost:8080/web/guest/-/webcontent
      9. The WebContent is shown in display page template

      Reproduced on:
      Upgrade From: 7.1.x-private GIT ID: 9ad86a893470985936f31aef8f4411dbaa29fa21.
      Tomcat 9.0.33 + MySQL 5.7. Portal master GIT ID: 0a9d8a4cef3087e830a086d8f30176c27981f37b.


        Issue Links



              yang.cao Yang Cao
              yang.cao Yang Cao
              Marta Elicegui Marta Elicegui
              0 Vote for this issue
              0 Start watching this issue


                2 years, 36 weeks, 6 days ago


                  Version Package
                  7.3.4 CE GA5
                  7.3.10 DXP GA1