Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.X EE, 6.2.0 CE M2
-
Fix Version/s: 6.2.0 CE M3
-
Component/s: WCM, WCM > 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.
-
Epic/Theme:
-
Fix Priority:3
-
Similar Issues:
Description
- Create Site A
- Control Panel > select Site A
- Site Settings > Enable Local Staging with page versioning
- Site Pages > Add Page A
- 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
- is duplicated by
-
LPS-35038
When Staging is turned on with page versioning, deleting a page will break manage pages/site pages portlet
-
- relates
-
LPS-29747
Deleting a page in one site page variation that has been enabled from another site page variation will cause the page in both variations to be deleted
-

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.