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

Discard draft will lead to error in content pages and display pages

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: WCM
    • Labels:

      Description

      Note: The same applies to content pages

      Steps to reproduce:

      • Go to Site Builder > Pages > Display Page Templates
      • Click + to add a new display page template
      • Set a name and press save
      • Click on discard draft

      Expected result: The user can continue working on the display page

      Actual result: The page is broken and unresponsive

      2019-04-18 18:20:01.050 ERROR [http-nio-8080-exec-4][PortletServlet:112] javax.portlet.PortletException: java.lang.Exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {"classNameId":"20003","classPK":"16","colorSchemeId":"","companyId":"20101","createDate":1555611589784,"css":"","description":"","descriptionCurrentValue":"","friendlyURL":"\/test-page1","groupId":"20123","headId":"-17","hidden":true,"iconImageId":"0","keywords":"","keywordsCurrentValue":"","lastPublishDate":null,"layoutId":"4","layoutPrototypeLinkEnabled":false,"layoutPrototypeUuid":"","modifiedDate":1555611589742,"mvccVersion":"1","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">Test Page<\/Name><\/root>","nameCurrentValue":"Test Page","parentLayoutId":"0","parentPlid":"0","plid":"17","priority":2147483647,"privateLayout":false,"publishDate":1555611590409,"robots":"","robotsCurrentValue":"","sourcePrototypeLayoutUuid":"","system":true,"themeId":"","title":"","titleCurrentValue":"","type":"content","typeSettings":"","userId":"20129","userName":"Test Test","uuid":"c95cbfc2-6d1a-d8d3-9586-d6d34b04042e"} is stale in comparison to {"classNameId":"20003","classPK":"16","colorSchemeId":"","companyId":"20101","createDate":1555611589784,"css":"","description":"","descriptionCurrentValue":"","friendlyURL":"\/test-page1","groupId":"20123","headId":"-17","hidden":true,"iconImageId":"0","keywords":"","keywordsCurrentValue":"","lastPublishDate":null,"layoutId":"4","layoutPrototypeLinkEnabled":false,"layoutPrototypeUuid":"","modifiedDate":1555611601018,"mvccVersion":"2","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">Test Page<\/Name><\/root>","nameCurrentValue":"Test Page","parentLayoutId":"0","parentPlid":"0","plid":"17","priority":2147483647,"privateLayout":false,"publishDate":1555611601005,"robots":"","robotsCurrentValue":"","sourcePrototypeLayoutUuid":"","system":true,"themeId":"","title":"","titleCurrentValue":"","type":"content","typeSettings":"layout-template-id=2_columns_ii\nlayoutUpdateable=true\n","userId":"20129","userName":"Test Test","uuid":"c95cbfc2-6d1a-d8d3-9586-d6d34b04042e"}
      javax.portlet.PortletException: java.lang.Exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {"classNameId":"20003","classPK":"16","colorSchemeId":"","companyId":"20101","createDate":1555611589784,"css":"","description":"","descriptionCurrentValue":"","friendlyURL":"\/test-page1","groupId":"20123","headId":"-17","hidden":true,"iconImageId":"0","keywords":"","keywordsCurrentValue":"","lastPublishDate":null,"layoutId":"4","layoutPrototypeLinkEnabled":false,"layoutPrototypeUuid":"","modifiedDate":1555611589742,"mvccVersion":"1","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">Test Page<\/Name><\/root>","nameCurrentValue":"Test Page","parentLayoutId":"0","parentPlid":"0","plid":"17","priority":2147483647,"privateLayout":false,"publishDate":1555611590409,"robots":"","robotsCurrentValue":"","sourcePrototypeLayoutUuid":"","system":true,"themeId":"","title":"","titleCurrentValue":"","type":"content","typeSettings":"","userId":"20129","userName":"Test Test","uuid":"c95cbfc2-6d1a-d8d3-9586-d6d34b04042e"} is stale in comparison to {"classNameId":"20003","classPK":"16","colorSchemeId":"","companyId":"20101","createDate":1555611589784,"css":"","description":"","descriptionCurrentValue":"","friendlyURL":"\/test-page1","groupId":"20123","headId":"-17","hidden":true,"iconImageId":"0","keywords":"","keywordsCurrentValue":"","lastPublishDate":null,"layoutId":"4","layoutPrototypeLinkEnabled":false,"layoutPrototypeUuid":"","modifiedDate":1555611601018,"mvccVersion":"2","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">Test Page<\/Name><\/root>","nameCurrentValue":"Test Page","parentLayoutId":"0","parentPlid":"0","plid":"17","priority":2147483647,"privateLayout":false,"publishDate":1555611601005,"robots":"","robotsCurrentValue":"","sourcePrototypeLayoutUuid":"","system":true,"themeId":"","title":"","titleCurrentValue":"","type":"content","typeSettings":"layout-template-id=2_columns_ii\nlayoutUpdateable=true\n","userId":"20129","userName":"Test Test","uuid":"c95cbfc2-6d1a-d8d3-9586-d6d34b04042e"}
              at com.liferay.portal.kernel.portlet.bridges.mvc.BaseMVCActionCommand.processAction(BaseMVCActionCommand.java:69)
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:364)
              at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(LiferayPortlet.java:97)
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.processAction(MVCPortlet.java:246)
              at com.liferay.portlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:77)
              at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:50)
              at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:108)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
              at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
              at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120)
              at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
              at com.liferay.portlet.internal.InvokerPortletImpl.invoke(InvokerPortletImpl.java:564)
              at com.liferay.portlet.internal.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:610)
              at com.liferay.portlet.internal.InvokerPortletImpl.processAction(InvokerPortletImpl.java:299)
              at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.processAction(MonitoringInvokerPortlet.java:216)
              at com.liferay.portlet.internal.PortletContainerImpl._processAction(PortletContainerImpl.java:491)
              at com.liferay.portlet.internal.PortletContainerImpl.lambda$processAction$0(PortletContainerImpl.java:148)
              at com.liferay.portlet.internal.PortletContainerImpl._preserveGroupIds(PortletContainerImpl.java:396)
              at com.liferay.portlet.internal.PortletContainerImpl.processAction(PortletContainerImpl.java:141)
              at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:95)
              at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:78)
              at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:118)
              at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:344)
              at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:172)
              at com.liferay.portal.struts.PortalRequestProcessor._process(PortalRequestProcessor.java:405)
              at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:154)
              at com.liferay.portal.internal.servlet.MainServlet.doPost(MainServlet.java:208)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
              at com.liferay.portal.internal.servlet.MainServlet.service(MainServlet.java:620)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:111)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:58)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:340)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:178)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:101)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
              at com.liferay.friendly.url.internal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:372)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at com.liferay.portal.servlet.ServletAdapter.service(ServletAdapter.java:98)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:111)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:341)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:358)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:58)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:340)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:88)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:260)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:263)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:178)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
              at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:101)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.Exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {"classNameId":"20003","classPK":"16","colorSchemeId":"","companyId":"20101","createDate":1555611589784,"css":"","description":"","descriptionCurrentValue":"","friendlyURL":"\/test-page1","groupId":"20123","headId":"-17","hidden":true,"iconImageId":"0","keywords":"","keywordsCurrentValue":"","lastPublishDate":null,"layoutId":"4","layoutPrototypeLinkEnabled":false,"layoutPrototypeUuid":"","modifiedDate":1555611589742,"mvccVersion":"1","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">Test Page<\/Name><\/root>","nameCurrentValue":"Test Page","parentLayoutId":"0","parentPlid":"0","plid":"17","priority":2147483647,"privateLayout":false,"publishDate":1555611590409,"robots":"","robotsCurrentValue":"","sourcePrototypeLayoutUuid":"","system":true,"themeId":"","title":"","titleCurrentValue":"","type":"content","typeSettings":"","userId":"20129","userName":"Test Test","uuid":"c95cbfc2-6d1a-d8d3-9586-d6d34b04042e"} is stale in comparison to {"classNameId":"20003","classPK":"16","colorSchemeId":"","companyId":"20101","createDate":1555611589784,"css":"","description":"","descriptionCurrentValue":"","friendlyURL":"\/test-page1","groupId":"20123","headId":"-17","hidden":true,"iconImageId":"0","keywords":"","keywordsCurrentValue":"","lastPublishDate":null,"layoutId":"4","layoutPrototypeLinkEnabled":false,"layoutPrototypeUuid":"","modifiedDate":1555611601018,"mvccVersion":"2","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">Test Page<\/Name><\/root>","nameCurrentValue":"Test Page","parentLayoutId":"0","parentPlid":"0","plid":"17","priority":2147483647,"privateLayout":false,"publishDate":1555611601005,"robots":"","robotsCurrentValue":"","sourcePrototypeLayoutUuid":"","system":true,"themeId":"","title":"","titleCurrentValue":"","type":"content","typeSettings":"layout-template-id=2_columns_ii\nlayoutUpdateable=true\n","userId":"20129","userName":"Test Test","uuid":"c95cbfc2-6d1a-d8d3-9586-d6d34b04042e"}
              at com.liferay.layout.content.page.editor.web.internal.portlet.action.DiscardDraftLayoutMVCActionCommand.doProcessAction(DiscardDraftLayoutMVCActionCommand.java:66)
              at com.liferay.portal.kernel.portlet.bridges.mvc.BaseMVCActionCommand.processAction(BaseMVCActionCommand.java:61)
              ... 158 more
      Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {"classNameId":"20003","classPK":"16","colorSchemeId":"","companyId":"20101","createDate":1555611589784,"css":"","description":"","descriptionCurrentValue":"","friendlyURL":"\/test-page1","groupId":"20123","headId":"-17","hidden":true,"iconImageId":"0","keywords":"","keywordsCurrentValue":"","lastPublishDate":null,"layoutId":"4","layoutPrototypeLinkEnabled":false,"layoutPrototypeUuid":"","modifiedDate":1555611589742,"mvccVersion":"1","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">Test Page<\/Name><\/root>","nameCurrentValue":"Test Page","parentLayoutId":"0","parentPlid":"0","plid":"17","priority":2147483647,"privateLayout":false,"publishDate":1555611590409,"robots":"","robotsCurrentValue":"","sourcePrototypeLayoutUuid":"","system":true,"themeId":"","title":"","titleCurrentValue":"","type":"content","typeSettings":"","userId":"20129","userName":"Test Test","uuid":"c95cbfc2-6d1a-d8d3-9586-d6d34b04042e"} is stale in comparison to {"classNameId":"20003","classPK":"16","colorSchemeId":"","companyId":"20101","createDate":1555611589784,"css":"","description":"","descriptionCurrentValue":"","friendlyURL":"\/test-page1","groupId":"20123","headId":"-17","hidden":true,"iconImageId":"0","keywords":"","keywordsCurrentValue":"","lastPublishDate":null,"layoutId":"4","layoutPrototypeLinkEnabled":false,"layoutPrototypeUuid":"","modifiedDate":1555611601018,"mvccVersion":"2","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">Test Page<\/Name><\/root>","nameCurrentValue":"Test Page","parentLayoutId":"0","parentPlid":"0","plid":"17","priority":2147483647,"privateLayout":false,"publishDate":1555611601005,"robots":"","robotsCurrentValue":"","sourcePrototypeLayoutUuid":"","system":true,"themeId":"","title":"","titleCurrentValue":"","type":"content","typeSettings":"layout-template-id=2_columns_ii\nlayoutUpdateable=true\n","userId":"20129","userName":"Test Test","uuid":"c95cbfc2-6d1a-d8d3-9586-d6d34b04042e"}
              at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:443)
              at com.liferay.portal.service.persistence.impl.LayoutPersistenceImpl.updateImpl(LayoutPersistenceImpl.java:34314)
              at com.liferay.portal.service.persistence.impl.LayoutPersistenceImpl.updateImpl(LayoutPersistenceImpl.java:75)
              at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:543)
              at com.liferay.portal.service.impl.LayoutLocalServiceImpl.publishDraft(LayoutLocalServiceImpl.java:2285)
              at com.liferay.portal.service.impl.LayoutLocalServiceImpl.updateLayout(LayoutLocalServiceImpl.java:2458)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice$LayoutLocalServiceStagingInvocationHandler._invoke(LayoutLocalServiceStagingAdvice.java:766)
              at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice$LayoutLocalServiceStagingInvocationHandler.invoke(LayoutLocalServiceStagingAdvice.java:745)
              at com.sun.proxy.$Proxy213.updateLayout(Unknown Source)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
              at com.sun.proxy.$Proxy1770.updateLayout(Unknown Source)
              at com.liferay.portal.kernel.service.LayoutLocalServiceWrapper.updateLayout(LayoutLocalServiceWrapper.java:1666)
              at com.liferay.layout.change.tracking.internal.service.CTLayoutLocalServiceWrapper.updateLayout(CTLayoutLocalServiceWrapper.java:187)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
              at com.sun.proxy.$Proxy1771.updateLayout(Unknown Source)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.lambda$invoke$0(TransactionInterceptor.java:64)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor._execute(DefaultTransactionExecutor.java:128)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:51)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:62)
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
              at com.liferay.portal.kernel.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:65)
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
              at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
              at com.sun.proxy.$Proxy87.updateLayout(Unknown Source)
              at com.liferay.layout.content.page.editor.web.internal.portlet.action.DiscardDraftLayoutMVCActionCommand$DiscardDraftLayoutCallable.call(DiscardDraftLayoutMVCActionCommand.java:134)
              at com.liferay.layout.content.page.editor.web.internal.portlet.action.DiscardDraftLayoutMVCActionCommand$DiscardDraftLayoutCallable.call(DiscardDraftLayoutMVCActionCommand.java:92)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor._execute(DefaultTransactionExecutor.java:128)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:51)
              at com.liferay.portal.spring.transaction.TransactionInvokerImpl.invoke(TransactionInvokerImpl.java:39)
              at com.liferay.portal.kernel.transaction.TransactionInvokerUtil.invoke(TransactionInvokerUtil.java:28)
              at com.liferay.layout.content.page.editor.web.internal.portlet.action.DiscardDraftLayoutMVCActionCommand.doProcessAction(DiscardDraftLayoutMVCActionCommand.java:62)
              ... 159 more
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {"classNameId":"20003","classPK":"16","colorSchemeId":"","companyId":"20101","createDate":1555611589784,"css":"","description":"","descriptionCurrentValue":"","friendlyURL":"\/test-page1","groupId":"20123","headId":"-17","hidden":true,"iconImageId":"0","keywords":"","keywordsCurrentValue":"","lastPublishDate":null,"layoutId":"4","layoutPrototypeLinkEnabled":false,"layoutPrototypeUuid":"","modifiedDate":1555611589742,"mvccVersion":"1","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">Test Page<\/Name><\/root>","nameCurrentValue":"Test Page","parentLayoutId":"0","parentPlid":"0","plid":"17","priority":2147483647,"privateLayout":false,"publishDate":1555611590409,"robots":"","robotsCurrentValue":"","sourcePrototypeLayoutUuid":"","system":true,"themeId":"","title":"","titleCurrentValue":"","type":"content","typeSettings":"","userId":"20129","userName":"Test Test","uuid":"c95cbfc2-6d1a-d8d3-9586-d6d34b04042e"} is stale in comparison to {"classNameId":"20003","classPK":"16","colorSchemeId":"","companyId":"20101","createDate":1555611589784,"css":"","description":"","descriptionCurrentValue":"","friendlyURL":"\/test-page1","groupId":"20123","headId":"-17","hidden":true,"iconImageId":"0","keywords":"","keywordsCurrentValue":"","lastPublishDate":null,"layoutId":"4","layoutPrototypeLinkEnabled":false,"layoutPrototypeUuid":"","modifiedDate":1555611601018,"mvccVersion":"2","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">Test Page<\/Name><\/root>","nameCurrentValue":"Test Page","parentLayoutId":"0","parentPlid":"0","plid":"17","priority":2147483647,"privateLayout":false,"publishDate":1555611601005,"robots":"","robotsCurrentValue":"","sourcePrototypeLayoutUuid":"","system":true,"themeId":"","title":"","titleCurrentValue":"","type":"content","typeSettings":"layout-template-id=2_columns_ii\nlayoutUpdateable=true\n","userId":"20129","userName":"Test Test","uuid":"c95cbfc2-6d1a-d8d3-9586-d6d34b04042e"}
              at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:67)
              at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:226)
              at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:394)
              at com.liferay.portal.service.persistence.impl.LayoutPersistenceImpl.updateImpl(LayoutPersistenceImpl.java:34310)
              ... 205 more
      Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.liferay.portal.model.impl.LayoutImpl#17]
              at org.hibernate.event.def.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:485)
              at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:255)
              at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:84)
              at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:867)
              at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:851)
              at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:855)
              at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:223)
              ... 207 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.chiu Brian Chiu
                Reporter:
                jurgen.kappler Jürgen Kappler
                Participants of an Issue:
                Recent user:
                Brian Chiu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 weeks, 2 days ago