incubator-chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefane Fermigier (JIRA)" <>
Subject [jira] Commented: (CMIS-111) Content streams not correctly served
Date Wed, 03 Feb 2010 12:21:29 GMT


Stefane Fermigier commented on CMIS-111:

I can not reproduce (uploading then downloading binary files using cmissh against the test

> Content streams not correctly served
> ------------------------------------
>                 Key: CMIS-111
>                 URL:
>             Project: Chemistry
>          Issue Type: Bug
>          Components: server
>            Reporter: Hinse ter Schuur
>         Attachments: media-binary.txt
> When downloading (binary) content from the server the contents are not correct. This
seems to be because a SizedMediaResponseContext is  treated as non-binary, resulting in written
out to the request context´ s writer instead of outputstream.
> A simple reproduction case is: run the org.apache.chemistry.test.MainServlet from the
chemistry-test module upload a zip file and try to download it again. The resulting download
does not have the same size as the original and the archive is corrupted.
> A simple fix will be to make the SizedMediaResponseContext binary. I'll attach a patch
file for this.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message