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

Resources importer web does not import templates

    Details

    • Story Points:
      6

      Description

      If theme contains templates attached to structures, importing fails, at least when importing to Group.

      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portlet.dynamicdatamapping.NoSuchStructureException: No DDMStructure exists with the key

      {groupId=11623, classNameId=10109, structureKey=}
      at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
      at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
      at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:65)
      at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
      at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
      at java.lang.Thread.run(Thread.java:744)
      Caused by: com.liferay.portlet.dynamicdatamapping.NoSuchStructureException: No DDMStructure exists with the key {groupId=11623, classNameId=10109, structureKey=}

      at com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistenceImpl.findByG_C_S(DDMStructurePersistenceImpl.java:7245)
      at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.getStructure(DDMStructureLocalServiceImpl.java:749)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
      at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
      at com.sun.proxy.$Proxy214.getStructure(Unknown Source)
      at com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalServiceUtil.getStructure(DDMStructureLocalServiceUtil.java:966)
      at com.liferay.resourcesimporter.util.FileSystemImporter.addDDMTemplates(FileSystemImporter.java:471)
      at com.liferay.resourcesimporter.util.ResourceImporter.addDDMTemplates(ResourceImporter.java:239)
      at com.liferay.resourcesimporter.util.FileSystemImporter.setupAssets(FileSystemImporter.java:1239)
      at com.liferay.resourcesimporter.util.FileSystemImporter.doImportResources(FileSystemImporter.java:975)
      at com.liferay.resourcesimporter.util.ResourceImporter.importResources(ResourceImporter.java:47)
      at com.liferay.resourcesimporter.messaging.ResourcesImporterHotDeployMessageListener.initialize(ResourcesImporterHotDeployMessageListener.java:251)
      at com.liferay.resourcesimporter.messaging.ResourcesImporterHotDeployMessageListener.onDeploy(ResourcesImporterHotDeployMessageListener.java:303)
      at com.liferay.portal.kernel.messaging.HotDeployMessageListener.doReceive(HotDeployMessageListener.java:55)
      at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      ... 5 more

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 44 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 Alpha 2