cancel
Showing results for 
Search instead for 
Did you mean: 

Drag and drop error

toze
Champ in-the-making
Champ in-the-making
The following error pops to  me, when i drag and drop a folder into a folder in share!

the following cannot be up uploaded because they are either folders or are zero bytes in size "undefined"

can anyone help me with this? or how to solve this?

in the log shows
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 08191243 Content conversion failed: 
   reader: ContentAccessor[ contentUrl=store://2012/9/19/10/12/7f294751-d3c6-41c3-9ca5-fe7f8d475b4d.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=1544742, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store://C:\Alfresco\tomcat\temp\Alfresco\ComplextTransformer_intermediate_docx_4527569450820463984.jpg, mimetype=image/jpeg, size=0, encoding=UTF-8, locale=es_ES]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/aec3b872-d001-456e-913e-3125a86ac2e6, contentWriterNodeRef=workspace://SpacesStore/f7f17bb3-6c0d-466d-9035-2c4427390e1c, imageResizeOptions=ImageResizeOptions [width=100, height=100, maintainAspectRatio=true, percentResize=false, resizeToThumbnail=false, allowEnlargement=false], sourceContentProperty=null, includeEmbedded=false, imageCropOptions=null, commandOptions=, imageAutoOrient=true}
   limits: {timeoutMs=120000, maxPages=-1, readLimitKBytes=-1, maxSourceSizeKBytes=-1, pageLimit=1, readLimitTimeMs=-1}
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:272)
   at org.alfresco.repo.content.transform.ComplexContentTransformer.transformInternal(ComplexContentTransformer.java:348)
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:238)
   … 85 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: 08191240 No thumbnail present in file, unable to generate image/jpeg
   at org.alfresco.repo.content.transform.OOXMLThumbnailContentTransformer.transformInternal(OOXMLThumbnailContentTransformer.java:110)
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:238)
   … 87 more
8 REPLIES 8

pmverma
Champ in-the-making
Champ in-the-making
Hello Toze,

You have identified your problem 
when i drag and drop a folder into a folder in share!

We can only drag and drop a file or files but not a folder.

Cheers,
pmverma.

ddraper
World-Class Innovator
World-Class Innovator
Here is some additional information relating to drag-and-drop folder upload…

When the drag-and-drop file upload capability was added for 4.0 the only browsers that supported it were Chrome and FireFox and neither provided support for folder upload. Share is only able to work with what information is provided to it by the browser and at the time the browsers were either not recognizing folders as valid items or were reporting them as 0 byte length files (which is technically accurate). Since the original implementation both browsers have updated their APIs to provide proprietary support for folder upload and we have an open JIRA issue (https://issues.alfresco.com/jira/browse/ALF-15548) to address handling this problem. Unfortunately both solutions do not adhere to a common standard so we have yet to decide on the correct approach to dealing with folder uploads.

Regards,
Dave

pmverma
Champ in-the-making
Champ in-the-making
Hi Dave,
I think you say something like "Firefox  supports for folder upload".

but I am also not able to upload folder with folder  with Firefox.

am I going wrong  :wink:

Thank you,
pmverma

mrogers
Star Contributor
Star Contributor
no folder upload is not implemented.

ddraper
World-Class Innovator
World-Class Innovator
Folder upload as a *CONCEPT* is supported by the latest releases of some browsers. Share does NOT support that concept because the drag-and-drop upload handling code in Share was written before browsers added support for the concept. Basically you cannot upload folders into Share, regardless of what browser you try with.

pmverma
Champ in-the-making
Champ in-the-making
Thank you all for sharing knowledge.

aap ka pyara,
pmverma

bedge
Champ in-the-making
Champ in-the-making
Any updates on this? It's been over a year since the last post on this thread.
http://updates.html5rocks.com/2012/07/Drag-and-drop-a-folder-onto-Chrome-now-available

ddraper
World-Class Innovator
World-Class Innovator
We're unlikely to support browser proprietary solutions until they become standards. I don't believe this capability is high on the feature road map.