Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2, 6.2.0 CE M5
    • Fix Version/s: 6.1.30 EE GA3, 6.2.0 CE M5
    • Component/s: Staging
    • Labels:
    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      3
    • Fix Priority:
      4

      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
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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

                  Subcomponents