upload icon indicating copy to clipboard operation
upload copied to clipboard

Blog thumbnails detected as deleted images by cleanup [1.3.0]

Open iamdarkle opened this issue 3 years ago • 2 comments

Bug Report

As I already commented in the discussion, the thumbnail images of Blog articles (v17development/flarum-blog) have their specific field outside the body of the discussion/article, as normally the uploaded thumbnail is not put back into the body of the discussion/article, cleanup detects these images as deleted images or that they are nowhere, and for this reason asks you about whether you want to delete them, with quite a few articles this can be a considerable problem as you have to go through them one by one and specify 'no' so they don't get deleted.

iamdarkle avatar Nov 11 '22 20:11 iamdarkle

Ref https://github.com/v17development/flarum-blog/blob/master/migrations/2020_10_17_16_34_create_blog_meta_table.php

luceos avatar Aug 30 '23 17:08 luceos

I just wanted to report this bug, because php flarum fof:upload --map --cleanup recognized all the images I used as main pictures in my blog as "not in use" and wanted to delete them.

So at least I can confirm this bug... :)

therealmaxmoon avatar Sep 02 '23 00:09 therealmaxmoon