when we get a SynapseMd5MismatchError we should delete the downloaded file

Description

None

Environment

None

Activity

Show:
Ziming Dong
June 12, 2017, 7:10 PM

Reopening because we have decided to remove deletion of mismatching files. We must consider all edge cases so that we do no accidentally delete user's local files. One such case was if the user supplied MD5 did not match that of locally stored file (ExternalFileHandle externalUrl=file://...)

Ziming Dong
January 9, 2018, 12:50 AM

To validate:

For local files (ExternalFileHandle), md5 mismatch should not delete the file.
For http/ftp downloads, the downloaded file should be deleted if expected md5 does not match

Assignee

Ziming Dong

Reporter

Larsson Omberg

Labels

None

Validator

Larsson Omberg

Development Area

None

Release Version History

None

Fix versions

Priority

Major
Configure