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

subpage inherit from user group layout throw com.liferay.portal.NoSuchLayoutException

    Details

      Description

      Steps to reproduce the issue:
      1. Enable auto copying pages from user group site functionality by setting the property: user.groups.copy.layouts.to.user.personal.site=true
      2. Create one user groups: A.
      3. Create a user "B" and assgin user B to user group A
      4. Create a page AAA and a subpage sub-AAA for user group A
      5. Login portal with you B and then click subpage sub-AAA you see following exception and Breadcrumb function broken.

      05:52:11,135 ERROR [IncludeTag:426] Current URL /web/shanjili/~/10442/aaa-sub1 generates exception: com.liferay.portal.NoSuchLayoutException: No Layout exists with the key

      {groupId=10455, privateLayout=false, layoutId=1}
      05:52:11,139 ERROR [IncludeTag:154] com.liferay.portal.NoSuchLayoutException: No Layout exists with the key {groupId=10455, privateLayout=false, layoutId=1}

      at com.liferay.portal.service.persistence.LayoutPersistenceImpl.findByG_P_L(LayoutPersistenceImpl.java:3397)
      at com.liferay.portal.service.impl.LayoutLocalServiceImpl.getLayout(LayoutLocalServiceImpl.java:970)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
      at com.liferay.portal.service.impl.LayoutLocalServiceVirtualLayoutsAdvice.invoke(LayoutLocalServiceVirtualLayoutsAdvice.java:83)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.invoke(LayoutLocalServiceStagingAdvice.java:102)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
      at com.liferay.portal.service.LayoutLocalServiceUtil.getLayout(LayoutLocalServiceUtil.java:733)
      at org.apache.jsp.html.taglib.ui.breadcrumb.display_005fstyle_005fhorizontal_jsp._buildLayoutBreadcrumb(display_005fstyle_005fhorizontal_jsp.java:275)
      at org.apache.jsp.html.taglib.ui.breadcrumb.display_005fstyle_005fhorizontal_jsp._jspService(display_005fstyle_005fhorizontal_jsp.java:670)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
      at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)
      at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:418)
      at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:92)
      at org.apache.jsp.html.taglib.ui.breadcrumb.page_jsp._jspService(page_jsp.java:681)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              luyang.tan Luyang Tan (Inactive)
              Reporter:
              dale.shan Dale Shan (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 1 week, 3 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2