Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-135

Extract a ZIP file does not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: Documents
    • Labels:
      None

      Description

      How to reproduce

      • Select a folder in document module
      • Click on "Add file"
      • Select a ZIP file
      • Check case to extract the ZIP
      • Validate

      No error is displayed but none file have been added.

      On logs, an observer has failed

      Message:		Unable to dispatch event: event[id: resource.created, issuer: UserIdentity [login=admin, population=ametys_demo_users], args: [object.parent.path = /ametys:plugins/intranet/projects/espace-collaboratif/ametys-internal:resources/documents/Comptes rendus, resources = {resource://bcc2938a-cdb1-42a1-b769-cb528052ff51='/ametys:plugins/intranet/projects/espace-collaboratif/ametys-internal:resources/documents/Comptes rendus/EOS_760D_Wi-Fi_Instruction_Manual_FR.pdf' (resource://bcc2938a-cdb1-42a1-b769-cb528052ff51)}, object.parent = resources-collection://2e833b26-3895-4c31-a8de-48a2eaf73a1f]] to observers
      Location:	org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
      Thrown:
      java.lang.NullPointerException
      	at org.ametys.intranet.events.IntranetEventsObserver._processDocumentEvent(IntranetEventsObserver.java:130)
      	at org.ametys.intranet.events.IntranetEventsObserver.observe(IntranetEventsObserver.java:107)
      	at org.ametys.core.observation.ObservationManager._observesEvent(ObservationManager.java:202)
      	at org.ametys.core.observation.ObservationManager.notify(ObservationManager.java:146)
      	at org.ametys.plugins.explorer.resources.actions.AddOrUpdateResourceHelper._notifyResourcesCreated(AddOrUpdateResourceHelper.java:277)
      	at org.ametys.plugins.explorer.resources.actions.AddOrUpdateResourceHelper.performResourceOperation(AddOrUpdateResourceHelper.java:248)
      	at org.ametys.plugins.explorer.resources.actions.AddOrUpdateResourceHelper.performResourceOperation(AddOrUpdateResourceHelper.java:170)
      	at org.ametys.intranet.documents.DocumentManager.addFile(DocumentManager.java:603)
      

      The uploaded ZIP in attached to this issue

        Attachments

          Activity

            People

            • Assignee:
              trizzi Thibaut Rizzi (Inactive)
              Reporter:
              laurence Laurence Aumeunier
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: