Closed (fixed)
Project:
IMCE
Version:
8.x-2.2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2020 at 08:29 UTC
Updated:
7 Sep 2020 at 18:59 UTC
Jump to comment: Most recent
Comments
Comment #2
paulocsHello @tonytsang,
can you wright the steps to reproduce the issue?
I don't have this problem.
Are you sure that the image is not used any where else?
Cheers, Paulo.
Comment #3
tonytsang commentedHi Paulo,
Yes, as the image already delete from user, so it is not used any where else, but I am wonder will this cause by the revision, as we enable the revision of every content page, so is it possible the image is locked by the the old revision so make it cannot delete?
Regards,
Tony
Comment #4
paulocsYes @tonytsang. If you have the "Create new revision" enable, the revisions created lock the image so it is not possible to remove the image.
If you delete the revisions that lock the image, you can delete the image but I think it is not the best solution for you.
Cheers, Paulo.
Comment #5
paulocsComment #6
paulocsComment #7
thallesThis usually happens when the image is uploaded by Drupal image tool and you try delete by IMCE
Comment #8
tonytsang commentedFor me, this is happen when user upload through IMCE but still cannot delete in the IMCE
Comment #9
thallesApparently happen the described in #4, so you need delete the revisions to delete the image, so I think IMCE are doing this correctly
Comment #10
thallesComment #11
tonytsang commentedSince it is very difficult to find out all the revisions that contain this images as our site is largely updating by different users, is it possible to add the force delete option to delete it?
Comment #12
thallesComment #13
paulocsHello @all,
I created a new issue because comment #11 is requesting for a new feature.
I created a patch for it in issue #3166956: Enable to delete file even if drupal is using it. (NOT IMPLEMENTED YET).
Maybe you can review there and I think we can close this issue.
Cheers, Paulo.
Comment #14
thalles