The indexer is hard-coded to append .htm to the paths for the img and thumb attributes when the File is a transcript role and has the mimetype text/html. This means that if a transcript is uploaded with an .html extension, the data for img and thumb is malformed, and the download link for the transcript is broken in the ddr-public interface.
The indexer is hard-coded to append
.htm
to the paths for theimg
andthumb
attributes when theFile
is atranscript
role and has the mimetypetext/html
. This means that if a transcript is uploaded with an.html
extension, the data forimg
andthumb
is malformed, and the download link for the transcript is broken in theddr-public
interface.See: https://github.com/denshoproject/ddr-cmdln/blob/e37a48aefc7a9fad71bffb20a0ab742bc74b3521/ddr/DDR/models/common.py#L314
@GeoffFroh has already developed a patch and tested (based on https://github.com/denshoproject/ddr-cmdln/blob/e37a48aefc7a9fad71bffb20a0ab742bc74b3521/ddr/DDR/models/common.py#L331).