optimize UploadFileRestlet by persisting the blob instead of saving it twice
----------------------------------------------------------------------------

                 Key: NXP-2392
                 URL: http://jira.nuxeo.org/browse/NXP-2392
             Project: Nuxeo Enterprise Platform
          Issue Type: Improvement
          Components: Desktop Integration, Web UI
    Affects Versions: 5.1.4
            Reporter: Thierry Martins
            Assignee: Thierry Martins
             Fix For: 5.1.5


Instead of saving the document twice (once before mimetype sniffing and once 
after) to avoid stream exhaustion problems, call the Blob.persist() once at the 
beginning.

-- 
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