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

If a Site has no Site Pages, we cannot export or import a LAR

    Description

    Description
    Exporting a Portlet Lar when no pages yet exist will cause the export to fail. An example fail message is : "Error: An error occurred because the live group does not have the current page. " Another possible error when importing instead is "No layout exists with the primary key 0."

    Steps to Reproduce

    1. Create a new site
    2. Create a WC on the new site
    3. Export WC Lar

    Expected Result
    Export succeeds

    Actual Result
    Export fails

    Tested on Tomcat 9.0.17 + MySQL 5.7
    Portal master GIT ID: b29b713685f4a3730da65611d40d7c8ae91f04cf

      Attachments

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 19 weeks, 1 day ago

                Packages

                Version Package
                Master