Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      3
    • Fix Priority:
      4
    • Similar Issues:
      Show 5 results 

      Description

      Steps:
      -Create a Wiki with multiple nodes and pages containg references to some DL files.
      -Export the Wiki
      -Importing the Wiki will fail with the following stack trace

      13:54:39,425 ERROR [http-bio-8080-exec-16][ExportImportAction:326] com.liferay.portal.kernel.lar.PortletDataException: com.liferay.portlet.documentlibrary.NoSuchFileEntryException: No DLFileEntry exists with the key {uuid=95d6bc65-c48b-442e-9a30-b7d46307194a, groupId=10568}
      com.liferay.portal.kernel.lar.PortletDataException: com.liferay.portlet.documentlibrary.NoSuchFileEntryException: No DLFileEntry exists with the key {uuid=95d6bc65-c48b-442e-9a30-b7d46307194a, groupId=10568}
      	at com.liferay.portal.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:149)
      	at com.liferay.portlet.wiki.lar.WikiPortletDataHandler.importData(WikiPortletDataHandler.java:295)
      	at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:1068)
      	at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:1005)
      	at com.liferay.portal.lar.PortletImporter.doImportPortletInfo(PortletImporter.java:445)
      	at com.liferay.portal.lar.PortletImporter.importPortletInfo(PortletImporter.java:146)
      	at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importPortletInfo(LayoutLocalServiceImpl.java:1526)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      ...
      	at java.lang.Thread.run(Thread.java:680)
      Caused by: com.liferay.portlet.documentlibrary.NoSuchFileEntryException: No DLFileEntry exists with the key {uuid=95d6bc65-c48b-442e-9a30-b7d46307194a, groupId=10568}
      	at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getFileEntryByUuidAndGroupId(DLAppLocalServiceImpl.java:569)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:59)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:166)
      	at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:61)
      	at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:50)
      	at com.sun.proxy.$Proxy407.getFileEntryByUuidAndGroupId(Unknown Source)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at com.liferay.portal.security.pacl.PortalSecurityManagerImpl$DoBeanLocatorImplPACL$1.invoke(PortalSecurityManagerImpl.java:471)
      	at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:61)
      	at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:50)
      	at com.sun.proxy.$Proxy770.getFileEntryByUuidAndGroupId(Unknown Source)
      	at com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil.getFileEntryByUuidAndGroupId(DLAppLocalServiceUtil.java:432)
      	at com.liferay.portlet.journal.lar.JournalPortletDataHandler.importDLFileEntries(JournalPortletDataHandler.java:1348)
      	at com.liferay.portlet.journal.lar.JournalPortletDataHandler.importReferencedContent(JournalPortletDataHandler.java:958)
      	at com.liferay.portlet.wiki.lar.WikiPortletDataHandler.importPage(WikiPortletDataHandler.java:188)
      	at com.liferay.portlet.wiki.lar.WikiPortletDataHandler.doImportData(WikiPortletDataHandler.java:560)
      	at com.liferay.portal.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:145)
      	... 211 more
      

        Activity

        Show
        Riccardo Ferrari added a comment - https://github.com/juliocamarero/liferay-portal/pull/1568
        Hide
        Serena Song (Inactive) added a comment -

        PASSED Manual Testing following the steps in the description.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 3438198f12a936fc4e675bca5b4e01da6a879aa5.

        There is no error shows up in the console and you can import the LAR file successfully.

        Show
        Serena Song (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 3438198f12a936fc4e675bca5b4e01da6a879aa5. There is no error shows up in the console and you can import the LAR file successfully.
        Hide
        Serena Song (Inactive) added a comment - - edited

        PASSED Manual Testing following the steps in the description.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 3f840038ba7e78fd8c0422311a371ca6130649a6.

        There is no error shows up in the console and you can import the LAR file successfully.

        Show
        Serena Song (Inactive) added a comment - - edited PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 3f840038ba7e78fd8c0422311a371ca6130649a6. There is no error shows up in the console and you can import the LAR file successfully.

          People

          • Assignee:
            Serena Song (Inactive)
            Reporter:
            Riccardo Ferrari
            Recent user:
            Esther Sanz
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 3 weeks, 1 day ago

              Development

                Structure Helper Panel