Description of problem: Uploading in multiple chunks through the API using the Java clients or curl has started failing the hash check when the final part is uploaded. This appears to be because the last chunk is not being properly included when the chunks are combined to a complete file. Version-Release number of selected component (if applicable): 3.0.2 How reproducible: Always Steps to Reproduce: 1. Create a project on Zanata, with project type 'file' 2. Download a config file for the project to a clean directory 3. Create a .txt file with contents "1234567890" in the directory 4. run the push command for source documents with option --chunk-size 3. e.g. zanata-cli push --push-type source --file-types txt -s . -t . --chunk-size 3 Actual results: Upload fails due to hash mismatch. Expected results: Upload shows as successful on the client. Document is visible on the server with a single source string "1234567890" Additional info:
Pull request: https://github.com/zanata/zanata-server/pull/133
Verified at 6cffb1ba3ce14c4c5803c1e40556bd8d58a60363
Closing VERIFIED bugs which predate Zanata 3.1.2.