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

Layouts are deleted after import when importing page or site templates

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      4
    • Caused by:
      Other bug fix
    • Where was the bug?:
      Java

      Description

      After importing a LAR file with a page or site template, layouts are deleted after the import.

      Steps to reproduce:

      1. Create a LAR file from the default Blog page template on a Liferay instance
      2. Create a new database and start up the portal on this new database
      3. Create a new page template called Blog 2
      4. Click Import on the actions menu and import the LAR created in step 1

      The import will run without error but when you try to view the template page of Blog 2, you'll get an error because the layout is not there.

      The same happens if you check 'Delete missing layouts' when importing a site template.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 46 weeks, 3 days ago