[ 
http://jira.nuxeo.org/browse/NXP-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44651#action_44651
 ] 

Anahide Tchertchian commented on NXP-2602:
------------------------------------------

see other bug for how to intercept the error in case file is too large : 
NXP-2764

> Fix upload of big files
> -----------------------
>
>                 Key: NXP-2602
>                 URL: http://jira.nuxeo.org/browse/NXP-2602
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>    Affects Versions: 5.2 M2
>            Reporter: Anahide Tchertchian
>            Assignee: Anahide Tchertchian
>             Fix For: 5.2 M3
>
>
> Upload of big files does not work anymore since seam 2 changes : the 
> application seems to be stuck and jboss has to be restarted when using files 
> with a size > 30Mb.
> Now we're using the s:fileUpload tag and SeamMultipartFilter features to 
> retrieve binary content, and convert it to blobs.
> Configuration of maximum size is done in 
> nuxeo.ear/OSGI-INF/templates/components.xml.
> The filter configuration allows to decide whether files should be persisted 
> or not, but anyway we persist it when converting it to a blob, so this 
> configuration seems useless (and may even be a problem ?).
> Conversion code is in nuxeo-platform-ui-web, FileUtils#createSerializableBlob 
> and uses "StreamingBlob.createFromStream(file, mimeType).persist();"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to