synapseutils.sync.generateManifest() sets contentType incorrectly

Description

1 2 3 for entity in allFiles: row = {'parent': entity['parentId'], 'path': entity.get("path"), 'name': entity.name, 'synapseStore': entity.synapseStore, 'contentType': allFiles[0]['contentType']}

We always set the contentType to the contentType of first downloaded file

Environment

None

Status

Assignee

Ziming Dong

Reporter

Ziming Dong

Labels

None

Validator

Kimyen Truong

Release Version History

None

Fix versions

Affects versions

py-1.7.5

Priority

Critical