Bug causing unexpected data loss
-
Hello,
first of all, thank you very much for this precious and useful plugin.
I am writing to report a bug that I’ve encountered recently during a media library cleanup on a very large site.
I have moved lots of images to the Media Cleaner Trash and I kept them there for a couple of weeks. During this time new images were uploaded to the website.
When I finally emptied the trash, the automatic procedure also deleted inadvertently some of the new images that were uploaded recently. After further investigation, I’ve found that images currently in the media library with the very same file name (and in the same original folder) of the ones that were being deleted from the trash were deleted as well.
You should be able to reproduce the issue, by moving an image to the trash and then upload a new image with the very same name, and finally empty the trash.
P.s. In my case, there were many (75k+) images, including many with generic file names (i.e. IMG_0001.jpg) and moreover I had the option “Organize my uploads into month- and year-based folders” disabled; these things increased the probability of matching file names.
The topic ‘Bug causing unexpected data loss’ is closed to new replies.