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

Existing pages with layout template will be unaccessible if I import a layout template from a different system

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      5
    • Fix Priority:
      3
    • Caused by:
      Feature/improvement was not complete
    • Where was the bug?:
      Java

      Description

      Steps to reproduce:
      1) Create a Page template with some portlet
      2) Export it
      3) Delete the Page template from the Portal
      4) Create a new Page template (TestTemplate) with e.g. a Navigation portlet
      5) Create a Page with this template
      6) Go back to the Import the first template to the TestTemplate
      7) Try to access the page
      Result:
      11:23:44,426 ERROR [http-bio-8080-exec-15][MainServlet:426] com.liferay.portal.NoSuchLayoutPrototypeException: No LayoutPrototype exists with the key

      {uuid=67712f5c-7d50-4dcb-b6f5-7cf33971ed74}
      com.liferay.portal.NoSuchLayoutPrototypeException: No LayoutPrototype exists with the key {uuid=67712f5c-7d50-4dcb-b6f5-7cf33971ed74}

      at com.liferay.portal.service.persistence.LayoutPrototypePersistenceImpl.findByUuid_First(LayoutPrototypePersistenceImpl.java:724)
      at com.liferay.portal.service.impl.LayoutPrototypeLocalServiceImpl.getLayoutPrototypeByUuid(LayoutPrototypeLocalServiceImpl.java:139)
      at sun.reflect.GeneratedMethodAccessor320.invoke(Unknown Source)...ee

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pani.gui Pani Gui (Inactive)
                Reporter:
                vilmos.papp Vilmos Papp
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 6 days ago