Closed dhruvvora94 closed 3 years ago
Closed with OC commit - 26882
VIDEO RENDITIONS - Fixing code that was resulting in videos automatically getting a 0 byte pdf rendition.
CR - dgrumieaux, aking, kgarelli
Can be tested by uploading a video through OCMS and then viewing it. If you are able to view it in OAV - then everything is working as expected.
Any documents that are of a type that cannot be converted to a PDF will have a rendition created for them of a PDF file with 0 bytes.
This means that the viewer for all these docs ends up being AEV irrespective of original mimetype - and the document does not display correctly since the PDF rendition is of zero size.
We need to make sure that if a document cannot be renditioned then we do not add the tsg:renditioned property to the document.
PS - This issue was likely caused by the OC trunk commit - 26740