-
Type:
Bug
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: 6.2.0 CE M3
-
Fix Version/s: 6.2.0 CE M4
-
Component/s: Web Content > Web Content Administration
-
Labels:
-
Environment:Tomcat 7.0.27 + MySQL 5. Portal 6.2.x GIT ID: 6a6ee5bf00b9da331767a0fa7fda6625bdc7a930.
-
Fix Priority:4
When attempting to upgrade to 6.2.X, a DDMStructure exception occurs during the upgrade process. Possibly because of the way the structure editor changed, it also changes the way the data is written to the database (different from previous versions).
Steps to Reproduce:
- Start a Previous Portal Version (eg. 6.1.X EE)
- Add a structure
- Add a template (based on the structure)
- Add a web content (based on the structure)
- Shutdown the server
- Upgrade to 6.2.X
- The following stacktrace will occur during server startup:
22:16:32,699 ERROR [pool-2-thread-1][MainServlet:215] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.dynamicdatamapping.NoSuchStructureException: No DDMStructure exists with the key {groupId=10148, structureKey=10406} com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.dynamicdatamapping.NoSuchStructureException: No DDMStructure exists with the key {groupId=10148, structureKey=10406} at com.liferay.portal.events.StartupAction.run(StartupAction.java:58) at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1254) at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:212) at javax.servlet.GenericServlet.init(GenericServlet.java:160) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.dynamicdatamapping.NoSuchStructureException: No DDMStructure exists with the key {groupId=10148, structureKey=10406} at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:61) at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:110) at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:76) at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:46) at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:145) at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:65) at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:237) at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:190) at com.liferay.portal.events.StartupAction.run(StartupAction.java:52) ... 20 more Caused by: com.liferay.portal.verify.VerifyException: com.liferay.portlet.dynamicdatamapping.NoSuchStructureException: No DDMStructure exists with the key {groupId=10148, structureKey=10406} at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:61) at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:66) at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:42) at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:58) ... 28 more Caused by: com.liferay.portlet.dynamicdatamapping.NoSuchStructureException: No DDMStructure exists with the key {groupId=10148, structureKey=10406} at com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistenceImpl.findByG_S(DDMStructurePersistenceImpl.java:4631) at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.checkStructure(JournalArticleLocalServiceImpl.java:2705) at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.checkStructure(JournalArticleLocalServiceImpl.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122) at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:162) at $Proxy205.checkStructure(Unknown Source) at com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil.checkStructure(JournalArticleLocalServiceUtil.java:382) at com.liferay.portal.verify.VerifyJournal.doVerify(VerifyJournal.java:166) at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:58) ... 31 more Stopping the server due to unexpected startup errors
- is duplicated by
-
LPS-30964 Upgrade process to upgrade existing JournalStructures to DDMStructures
-
- Closed
-
- is related to
-
LPS-31923 Resource importer is using the Journal Structure and Templates API instead of DDM
- Closed
- relates
-
LPS-31325 Web Content Does Not Display after Upgrading to 6.2.X
- Closed
- Testing discovered
-
LPS-30961 As a WCM Administrator, I will be able to create and edit structures and templates using the new editors from Dynamic Data Mapping (DDM)
-
- Closed
-