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

404 is shown when preview draft Web Content displayed in display page template

    Details

      Description

      Step to reproduce:

      1. Add a display page template with Web Content Article type and Basic Web Content subtype
      2. Add a Display Page Content fragment to display page template
      3. Publish
      4. Click ellipsis button of display page template
      5. Mark as Default
      6. Add a Web Content Article based on Basic Web Content
      7. Type title and content
      8. Click Save as Draft
      9. Expand Display Page Template
      10. Click eye icon button

      Expected Results:
      The content of WC is shown in preview popup.

      Actual Results:
      The 404 not found is shown in preview popup. And the following error is thrown in browser console.

      Reproduced on:
      Tomcat 9.0.33 + MySQL 5.7. Portal master GIT ID: dfcc23ae99e0e56a9f06b27a38863d2df18a1bd1.

      Cannot be reproduced on:
      Tomcat 9.0.33 + MySQL 5.7. Portal 7.3.2-GA3 GIT ID: 0515646c8f638f202d107469cc147172fc7685de.

        Attachments

        1. NotFound.PNG
          NotFound.PNG
          102 kB
        2. Unexpected.PNG
          Unexpected.PNG
          69 kB

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              yang.cao Yang Cao
              Participants of an Issue:
              Recent user:
              Jorge García Jiménez
              Engineering Assignee:
              Eudaldo Alonso
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                47 weeks ago

                  Packages

                  Version Package
                  7.2.10 DXP FP9
                  7.2.X
                  7.3.3 CE GA4
                  7.3.10 DXP GA1
                  Master