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: Bogdan Stefanescu
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