Details

      Description

      Steps to Reproduce

      1. Add a new user with admin role, User1
      2. Login as the new added user to upload a DM file
      3. Login as Test Test
      4. Export the User1's personal data

      Expect Result
      Personal data exported successfully without console error.

      Actual Result
      Fail to export the personal data with following error on console:

      2020-06-29 07:42:37.275 ERROR [liferay/background_task-8][BackgroundTaskMessageListener:182] Unable to execute background task
      java.lang.IllegalArgumentException: Illegal character in opaque part at index 80: jar:file:/D:/Git/Tomcat/Master/bundle/master-latest/tomcat-9.0.33/temp/UAD_test1 test1_com.liferay.document.library.uad_202006290742.zip
              at java.net.URI.create(URI.java:852)
              at com.liferay.portal.zip.ZipWriterImpl.<init>(ZipWriterImpl.java:64)
              at com.liferay.portal.zip.ZipWriterFactoryImpl.getZipWriter(ZipWriterFactoryImpl.java:34)
              at com.liferay.portal.kernel.zip.ZipWriterFactoryUtil.getZipWriter(ZipWriterFactoryUtil.java:29)
              at com.liferay.user.associated.data.web.internal.export.controller.UADApplicationExportController._getZipWriter(UADApplicationExportController.java:171)
              at com.liferay.user.associated.data.web.internal.export.controller.UADApplicationExportController._exportApplicationData(UADApplicationExportController.java:66)
              at com.liferay.user.associated.data.web.internal.export.controller.UADApplicationExportController.export(UADApplicationExportController.java:56)
              at com.liferay.user.associated.data.web.internal.export.background.task.UADExportBackgroundTaskExecutor.execute(UADExportBackgroundTaskExecutor.java:59)
              at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:41)
              at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:72)
              at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:136)
              at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:48)
              at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:34)
              at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
              at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:56)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      Caused by: java.net.URISyntaxException: Illegal character in opaque part at index 80: jar:file:/D:/Git/Tomcat/Master/bundle/master-latest/tomcat-9.0.33/temp/UAD_test1 test1_com.liferay.document.library.uad_202006290742.zip
              at java.net.URI$Parser.fail(URI.java:2848)
              at java.net.URI$Parser.checkChars(URI.java:3021)
              at java.net.URI$Parser.parse(URI.java:3058)
              at java.net.URI.<init>(URI.java:588)
              at java.net.URI.create(URI.java:850)
              ... 17 more
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sharry.shi Sharry Shi
              Reporter:
              sharry.shi Sharry Shi
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                22 weeks, 4 days ago

                  Packages

                  Version Package
                  7.3.3 CE GA4
                  7.3.10 DXP GA1
                  Master