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

Broken links to pages or files in Web Content causing publication errors

    Details

      Description

      Web Content that have references to data that no longer exists may prevent Staging publishes due to missing references.

      Steps to reproduce:

      1. Add two new sites, and navigate to one of them
      2. Add a Web Content structure with a Link-to-page field
      3. Add a template based on the new structure
      4. Add two public pages, Page A and Page B
      5. Add a new Web Content article based on the new structure, and make the Link-to-page field point to Page B
      6. After publishing the article, edit it, clear the link, and publish again
      7. Delete Page B
      8. Set up remote Staging to publish to the other new site
      9. Attempt to publish Web Content

      Expected result: the Web Content can be successfully published.
      Actual result: the missing layout prevents the Web Content from being successfully published, and the publish fails. A stack trace is shown in the console.

       

      The similar error happens for web content with broken file entry references

        Attachments

          Activity

            People

            Assignee:
            linda.sui Linda Sui
            Reporter:
            alec.shay Alec Shay
            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:
              3 years, 24 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 DXP FP26
                7.0.X EE
                7.0.4 CE GA5
                7.1.X
                Master