Details

      Description

      Hi,
      We deployed the Dynamic data list form from Liferay market place.

      We have configured Data List , added the same to Data list form as well.

      When trying to POST the data for the form , it is displaying "Portlet is temporarily unavailable."

      In logs below is logged

      _Caused by: java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String
      	at com.liferay.portlet.dynamicdatamapping.util.DDMImpl.getFieldNames(DDMImpl.java:452)
      	at com.liferay.portlet.dynamicdatamapping.util.DDMImpl.getFieldValues(DDMImpl.java:487)
      	at com.liferay.portlet.dynamicdatamapping.util.DDMImpl.getFields(DDMImpl.java:238)
      	at com.liferay.portlet.dynamicdatamapping.util.DDMImpl.getFields(DDMImpl.java:200)
      	at com.liferay.portlet.dynamicdatamapping.util.DDMImpl.getFields(DDMImpl.java:258)
      	at com.liferay.portlet.dynamicdatamapping.util.DDMUtil.getFields(DDMUtil.java:73)
      	at com.liferay.portlet.dynamicdatalists.util.DDLImpl.updateRecord(DDLImpl.java:389)
      	at com.liferay.portlet.dynamicdatalists.util.DDLImpl.updateRecord(DDLImpl.java:431)
      	at com.liferay.portlet.dynamicdatalists.util.DDLUtil.updateRecord(DDLUtil.java:133)
      	at com.liferay.ddlform.portlet.DDLFormPortlet.saveData(DDLFormPortlet.java:63)
      	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)_
      

      Similar when we try from control panel we get "Dynamic Data Lists is temporarily unavailable." .

      In logs get the below error message

      com.liferay.portlet.dynamicdatalists.NoSuchRecordSetException: No DDLRecordSet exists with the primary key 0
      	at com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordSetPersistenceImpl.findByPrimaryKey(DDLRecordSetPersistenceImpl.java:3021)
      	at com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordSetPersistenceImpl.findByPrimaryKey(DDLRecordSetPersistenceImpl.java:3039)
      	at com.liferay.portlet.dynamicdatalists.service.base.DDLRecordSetLocalServiceBaseImpl.getDDLRecordSet(DDLRecordSetLocalServiceBaseImpl.java:268)
      	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.liferay.portlet.dynamicdatalists.service.DDLRecordSetLocalServiceUtil.getDDLRecordSet(DDLRecordSetLocalServiceUtil.java:232)
      	at com.liferay.portlet.dynamicdatalists.util.DDLImpl.updateRecord(DDLImpl.java:384)
      	at com.liferay.portlet.dynamicdatalists.util.DDLImpl.updateRecord(DDLImpl.java:431)
      	at com.liferay.portlet.dynamicdatalists.util.DDLUtil.updateRecord(DDLUtil.java:133)
      	at com.liferay.portlet.dynamicdatalists.action.EditRecordAction.updateRecord(EditRecordAction.java:162)
      	at com.liferay.portlet.dynamicdatalists.action.EditRecordAction.processAction(EditRecordAction.java:61)
      	at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:166)
      	at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:218)
      	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
      	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
      	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:597)
      	at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:628)
      

      using tomcat 7.6.2 + Liferay CE GA 6 + Postgre 9.2

      regards,
      Ramchand

        Attachments

          Activity

            People

            Assignee:
            melody.wu Melody Wu
            Reporter:
            ramchand_gururajan Ramchand
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 16 weeks, 6 days ago

                Packages

                Version Package