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

Publication fails when a Web Content with a Document is displayed in a Web Content Display and an Asset Publisher as well

    Details

      Description

      Reproduction steps:

      1.) Create a new site and enable local Staging with the default configuration.

      2.) On your site create two new pages (page1 and page2).

      3.) Create a new basic web content, add some data to the title and the content section (test1, test1).

      4.) Upload a new document to the Documents and Media.

      5.) Add the image to the article and publish it.

      6.) Add a web content display to the page1 and configure it to show the article from step 3.

      7.) Now add an Asset Publisher to page2.

      8.) Make a publication to Live.

      9.) Re-publish with specific settings in Advanced Publication:

      • Click on "Switch to Advanced Publication"
      • Select "All" in "Content" section
      • Click on "Refresh Counts"
      • Check "Web Content" and click on "Change"
      • Uncheck "Referenced Content" and click OK to close popup
      • Click on Publish

      Result: The publication fails with a NullPointerException. The full error can be found in 'NullPointerException.txt'.

      Similar issues also happen in DXP: LPP-30719

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                maria.kispal Mária Kispál (Inactive)
                Reporter:
                tamas.molnar Tamas Molnar
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 13 weeks, 4 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP74
                  7.0.10.11 DXP SP11
                  7.0.X
                  7.1.10 DXP FP1
                  7.1.1 CE GA2
                  7.1.10.1 SP1
                  7.1.X
                  Master