Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.30 EE GA3, 6.2.0 CE M2
    • Fix Version/s: 6.2.0 CE M3
    • Component/s: Staging
    • Labels:
      None
    • Environment:
      Tomcat 7.0 + MySQL 5. 6.1.x CE GIT ID: 3c31bd74260db32c626f99af19eef4ad956e754f.
      Tomcat 7.0 + MySQL 5. 6.1.x EE GIT ID: 351ed96fa6bb241f0f96f178b022d3b42ffd9fa3.
      Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 41e48149c61bea15b945e3704a5c8b69db507722.

      Description

      1. Create Site A
      2. Control Panel > select Site A
      3. Site Settings > Enable Local Staging with page versioning
      4. Site Pages > Add Page A
      5. Delete Page A from the page tree

      Site Pages becomes temporarily unavailable and generates a nosuchlayoutexception in console. This issue also occurs through the Manage Site Pages of the site view, but if the page was added and deleted in the horizontal bar, there will be no error.

      ERROR [render_portlet_jsp:154] com.liferay.portal.NoSuchLayoutException: No Layout exists with the primary key 10471
              at com.liferay.portal.service.persistence.LayoutPersistenceImpl.findByPrimaryKey(LayoutPersistenceImpl.java:937)
              at com.liferay.portal.service.base.LayoutLocalServiceBaseImpl.getLayout(LayoutLocalServiceBaseImpl.java:398)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
              at com.liferay.portal.service.impl.LayoutLocalServiceVirtualLayoutsAdvice.invoke(LayoutLocalServiceVirtualLayoutsAdvice.java:74)
              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:182)
              at com.liferay.portlet.layoutsadmin.action.EditLayoutsAction.checkPermissions(EditLayoutsAction.java:385)
              at com.liferay.portlet.layoutsadmin.action.EditLayoutsAction.render(EditLayoutsAction.java:300)
              at com.liferay.portal.struts.PortletAction.execute(PortletAction.java:111)
              at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
              at com.liferay.portal.struts.PortletRequestProcessor.processActionPerform(PortletRequestProcessor.java:441)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
              at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:224)
              at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:237)
              at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:152)
      

        Issue Links

          Activity

          Hide
          oriana.tham Oriana Tham (Inactive) added a comment -

          Reproduced on:
          Tomcat 7.0 + MySQL 5. 6.1.x CE GIT ID: 3c31bd74260db32c626f99af19eef4ad956e754f.
          Tomcat 7.0 + MySQL 5. 6.1.x EE GIT ID: 351ed96fa6bb241f0f96f178b022d3b42ffd9fa3.
          Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 41e48149c61bea15b945e3704a5c8b69db507722.

          Show
          oriana.tham Oriana Tham (Inactive) added a comment - Reproduced on: Tomcat 7.0 + MySQL 5. 6.1.x CE GIT ID: 3c31bd74260db32c626f99af19eef4ad956e754f. Tomcat 7.0 + MySQL 5. 6.1.x EE GIT ID: 351ed96fa6bb241f0f96f178b022d3b42ffd9fa3. Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 41e48149c61bea15b945e3704a5c8b69db507722.
          Hide
          daniel.kocsis Daniel Kocsis added a comment -

          LPS-29747 fixed the issue

          Show
          daniel.kocsis Daniel Kocsis added a comment - LPS-29747 fixed the issue
          Hide
          tammy.fong Tammy Fong (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 6ffa765215d1d1fc12a8f7b41283a3bc4ea028ba.

          The Site Pages is temporarily unavailable and the console displays a NoSuchLayoutException.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: dfb9e6c6141688cb1095782b4f34468c0c31e846.

          Public and Private pages can be deleted without errors when staging with page versioning is activated.

          Show
          tammy.fong Tammy Fong (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 6ffa765215d1d1fc12a8f7b41283a3bc4ea028ba. The Site Pages is temporarily unavailable and the console displays a NoSuchLayoutException. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: dfb9e6c6141688cb1095782b4f34468c0c31e846. Public and Private pages can be deleted without errors when staging with page versioning is activated.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 33 weeks ago

                Development

                  Subcomponents