Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10221

Error extracting a modern? ZIP folder

XMLWordPrintable

      How to reproduce
      From the demo extract the ZIP folder from the resource explorer

      The extraction does not work, from the admin there is this error:

      Date : 23/01 11:04:47.858
      Utilisateur : admin#ametys_demo_users
      Thread : Thread[http-nio-8080-exec-88,5,main]
      Niveau : ERROR
      Catégorie : org.ametys.plugins.explorer.resources.actions.AddOrUpdateResourceHelper
      URI de la requête : /cms/plugins/explorer/add-file
      Message : Unable to unzip file
      Emplacement : org.ametys.plugins.explorer.resources.actions.AddOrUpdateResourceHelper._unzip(AddOrUpdateResourceHelper.java:368)
      
      Pile d'appels :
      org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException: unsupported feature method 'ENHANCED_DEFLATED' used in entry 2019 11 07 OJ Europe.pdf
      at org.apache.commons.compress.archivers.zip.ZipUtil.checkRequestedFeatures(ZipUtil.java:354)
      at org.apache.commons.compress.archivers.zip.ZipFile.getInputStream(ZipFile.java:477)
      at org.ametys.plugins.explorer.resources.actions.AddOrUpdateResourceHelper._addZipEntry(AddOrUpdateResourceHelper.java:435)
      at org.ametys.plugins.explorer.resources.actions.AddOrUpdateResourceHelper._unzip(AddOrUpdateResourceHelper.java:404)
      at org.ametys.plugins.explorer.resources.actions.AddOrUpdateResourceHelper._unzip(AddOrUpdateResourceHelper.java:359)
      at org.ametys.plugins.explorer.resources.actions.AddOrUpdateResourceHelper.performResourceOperation(AddOrUpdateResourceHelper.java:198)
      at org.ametys.plugins.explorer.resources.actions.AddOrUpdateResourceHelper.performResourceOperation(AddOrUpdateResourceHelper.java:172)
      at org.ametys.plugins.explorer.resources.actions.AddOrUpdateResourceHelper.performResourceOperation(AddOrUpdateResourceHelper.java:148)
      at org.ametys.plugins.explorer.resources.actions.AddOrUpdateResourceAction.act(AddOrUpdateResourceAction.java:83)
      at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:120)
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      

            Unassigned Unassigned
            afrancois Anastasia François
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: