FriendsOfFlarum / upload

The file upload extension with insane intelligence for your Flarum forum.
https://discuss.flarum.org/d/4154
MIT License
175 stars 94 forks source link

Blog thumbnails detected as deleted images by cleanup [1.3.0] #333

Open iamdarkle opened 1 year ago

iamdarkle commented 1 year ago

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.

luceos commented 10 months ago

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

therealmaxmoon commented 10 months ago

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... :)