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

            Assignee:
            maria.kispal Mária Kispál (Inactive)
            Reporter:
            kyle.miho Kyle Miho
            Participants of an Issue:
            Recent user:
            Jason Pince
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 22 weeks, 6 days ago

                Packages

                Version Package
                Master