Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-11329

Fix picture upload from WebDAV

    XMLWordPrintable

    Details

      Description

      When uploading a picture from WebDAV drive, it ends with an error.

      Client side, a popup is displayed in Windows
      Server side, there is this stacktrace

      ERROR [org.nuxeo.ecm.core.event.impl.EventServiceImpl] Error during pictureChangedListener sync listener execution, transaction won't be rolled back since event.markRollBack() was not called by the Listener
      org.nuxeo.ecm.core.api.ClientException: java.io.IOException: Stream closed
              at org.nuxeo.ecm.platform.picture.api.adapters.PictureBlobHolder.setBlob(PictureBlobHolder.java:84)
              at org.nuxeo.ecm.platform.picture.listener.PictureChangedListener.handleEvent(PictureChangedListener.java:56)
              at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:213)
              at org.nuxeo.ecm.core.api.AbstractSession.fireEvent(AbstractSession.java:353)
              at org.nuxeo.ecm.core.api.AbstractSession.notifyEvent(AbstractSession.java:405)
              at org.nuxeo.ecm.core.api.AbstractSession.saveDocument(AbstractSession.java:1868)
      ...
      Caused by: java.io.IOException: Stream closed
              at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:325)
              at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:162)
              at org.nuxeo.ecm.core.api.impl.blob.AbstractBlob.copy(AbstractBlob.java:47)
              at org.nuxeo.ecm.core.api.impl.blob.AbstractBlob.transferTo(AbstractBlob.java:77)
              at org.nuxeo.ecm.core.api.impl.blob.AbstractBlob.transferTo(AbstractBlob.java:89)
              at org.nuxeo.ecm.platform.picture.api.adapters.DefaultPictureAdapter.createPicture(DefaultPictureAdapter.java:66)
              at org.nuxeo.ecm.platform.picture.api.adapters.PictureBlobHolder.setBlob(PictureBlobHolder.java:82)
              ... 86 more
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmartins Thierry Martins
                Reporter:
                tmartins Thierry Martins
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: