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

Cannot Save Form or Display Templates via Dynamic Data List Display portlet

    Details

      Description

      Steps to Reproduce:

      1. Add Dynamic Data List Display portlet to the Welcome page
      2. Add List
      3. Select "To Do" Data Definition
      4. Save
      5. Add Display Template or Form Template
      6. Input Name
      7. Save

      Expected Result:
      Template Saves.

      Actual Result:
      Portlet crashes with portal error message: "Dynamic Data Mapping is temporarily unavailable."
      Console Error:

      20:19:51,953 ERROR [http-bio-6080-exec-9][render_portlet_jsp:131] null
      java.lang.RuntimeException: Unable to get class name from id 0
      	at com.liferay.portal.util.PortalImpl.getClassName(PortalImpl.java:1547)
      	at com.liferay.portal.util.PortalUtil.getClassName(PortalUtil.java:587)
      	at com.liferay.portlet.dynamicdatamapping.util.DDMImpl.getDDMDisplay(DDMImpl.java:123)
      	at com.liferay.portlet.dynamicdatamapping.util.DDMUtil.getDDMDisplay(DDMUtil.java:46)
      	at com.liferay.portlet.dynamicdatamapping.service.impl.DDMTemplateServiceImpl.addTemplate(DDMTemplateServiceImpl.java:141)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:149)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:53)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.liferay.portlet.dynamicdatamapping.service.DDMTemplateServiceUtil.addTemplate(DDMTemplateServiceUtil.java:131)
      	at com.liferay.portlet.dynamicdatamapping.action.EditTemplateAction.updateTemplate(EditTemplateAction.java:341)
      	at com.liferay.portlet.dynamicdatamapping.action.EditTemplateAction.processAction(EditTemplateAction.java:85)
      	at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:163)
      	at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:216)
      	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
      
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 19 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.0 M5