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

DDL Records migrated from 6.1 GA2 cannot be edited in 6.2

    Details

      Description

      Description:
      When a DDL is migrated from 6.1 (patches) to 6.2, the DDL entry cannot be edited.
      Seems to be related to LPS-64844 ?

      Steps to Reproduce:
      1. Create a DDL in Liferay 6.1.20
      2. add a couple of records
      3. make sure you can edit them
      4. Upgrade from 6.1.20 to 6.2.x.
      5. Go to the same DDL
      6. When you try to edit a record you will get a NullPointerException

      Results of Testing:
      Expected Results: Able to edit DDL upgraded from 6.1.20
      Actual Results: Unable to edit DDL upgraded from 6.1.20, able to edit DDL created in 6.2.x

      Error Log:

      20:01:46,186 ERROR [http-bio-8080-exec-7][render_portlet_jsp:132] null
      java.lang.NullPointerException
              at com.liferay.portlet.dynamicdatamapping.util.DDMImpl.splitFieldsDisplayValue(DDMImpl.java:789)
              at com.liferay.portlet.dynamicdatamapping.util.DDMImpl.mergeFields(DDMImpl.java:372)
              at com.liferay.portlet.dynamicdatamapping.util.DDMUtil.mergeFields(DDMUtil.java:111)
              at com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordLocalServiceImpl.updateRecord(DDLRecordLocalServiceImpl.java:500)
              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.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)

      Reproduced in?
      Master? Received a "Documents and Media is temporarily unavailable" message, so unable to edit the documents. It is uncertain whether or not this is a result of the same issue
      Git ID: fc56db963c928e136738da749efb4ccb28485f2f
      Branch? Yes, reproduced when upgrading 6.1 to 6.2.x. Unable to publish edits to upgraded DDL, same NullPointerException appears.
      Git ID: a0271cfefb983d07c067df46a7685e419507dbfa

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 29 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.X EE