Mp4 being cleaned up even when referenced in a topic

We have “clean up uploads” enabled and any .mp4 upload that users have added to a topic end up deleted/tombstoned after the cleanup process runs, even if they are currently referenced in a topic. I’m assuming this is not expected behavior. Any suggestions for resolving this issue?

We’re currently on version 1.7.0 beta 5. We just recently added .mp4 to the authorized extension list for uploads and noticed this happening. This only seems to effect .mp4 uploads.

Thanks!

2 Likes

any ideas here @tgxworld?

1 Like

After we started to onebox videos and audio uploads, we introduced a bug where the files were not properly tied to the post which resulted in those files being treated as orphan uploads.

https://github.com/discourse/discourse/pull/4506

@mcooper Thank you for reporting!

5 Likes

Excellent! Thank you both for the quick response and fix.

2 Likes