Steps to reproduce:
1. Go to Recordings->Events
2. Open the Event details of an archived Event and navigatie to Assets->Attachment->Attachment Details
This problem has been seen at the following places:
Recordings->Events->Event Details->Assets->Attachments->Attachment Details
Recordings->Events->Event Details->Assets->Catalogs->Catalog Details
Recordings->Events->Event Details->Assets->Media->Media Details
Recordings->Events->Event Details->Assets->Publications->Publication Details
Actual Results:
For all attachments I've ever seen, the size is always displayed as zero (although the files are non-zero bytes large).
Expected Results:
Either don't show the attachment size or show the correct value
Workaround (if any):
Size is actually set in the mediapackage but always empty as well:
<mp:attachment id="645b510a-b703-40ec-a051-e348acf943cf" type="presenter/search+preview" ref="track:track-5">
<mp:mimetype>image/jpeg</mp:mimetype>
<mp:tags>
<mp:tag>engage-download</mp:tag>
</mp:tags>
<mp:url>http://testallinone.usask.ca:8080/static/engage-player/5a6a04b9-0fab-4040-b956-7bab480f06bc/attachment-3/BBB.jpg</mp:url>
<mp:size>0</mp:size>
</mp:attachment>
Not sure, where this comes from. Does not seem to make any sense.
Merge PR 711 () as d650503.