Details

      Description

      Steps to reproduce:

      1. Create a new site "Source"
      2. Go to Content > Forms and add a new form
      3. Add a page "form" with a Form portlet and select the Form created in step 2.
      4. Export site "Source" and save the generated lar
      5. Delete site "Source"
      6. Create a new site "Destination"
      7. Import the lar generated in step 4.
      8. Go to page "form"

      Expected behavior: the Form portlet displays the form
      Current behavior: the Form portlet displays an error.

      Console log:

      Caused by: com.liferay.dynamic.data.lists.exception.NoSuchRecordSetException: No DDLRecordSet exists with the primary key 33610
      	at com.liferay.dynamic.data.lists.service.persistence.impl.DDLRecordSetPersistenceImpl.findByPrimaryKey(DDLRecordSetPersistenceImpl.java:3531)
      	at com.liferay.dynamic.data.lists.service.persistence.impl.DDLRecordSetPersistenceImpl.findByPrimaryKey(DDLRecordSetPersistenceImpl.java:3548)
      	at com.liferay.dynamic.data.lists.service.impl.DDLRecordSetLocalServiceImpl.getRecordSet(DDLRecordSetLocalServiceImpl.java:220)
      	at sun.reflect.GeneratedMethodAccessor2059.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy457.getRecordSet(Unknown Source)
      	at com.liferay.dynamic.data.lists.service.DDLRecordSetLocalServiceUtil.getRecordSet(DDLRecordSetLocalServiceUtil.java:376)
      	at com.liferay.dynamic.data.lists.service.permission.DDLRecordSetPermission.contains(DDLRecordSetPermission.java:100)
      	at com.liferay.dynamic.data.lists.service.permission.DDLRecordSetPermission.check(DDLRecordSetPermission.java:49)
      	at com.liferay.dynamic.data.lists.service.impl.DDLRecordSetServiceImpl.getRecordSet(DDLRecordSetServiceImpl.java:83)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy460.getRecordSet(Unknown Source)
      	at com.liferay.dynamic.data.lists.form.web.portlet.DDLFormPortlet.setRenderRequestAttributes(DDLFormPortlet.java:421)
      	at com.liferay.dynamic.data.lists.form.web.portlet.DDLFormPortlet.render(DDLFormPortlet.java:150)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 18 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 CE GA1