Uploaded Image of differing ext not replacing existing image
Version: 4.0.1
Build: 2020-09-25 10:33
OS: Windows 10 10.0
JDK: 14.0.2 amd64 AdoptOpenJDK
What is the actual behaviour?
When uploading an image manually, if the extension differs from the existing image, both images are left in the folder. For example, if I have a movie with POSTER.JPG in the folder and I manually upload an image to replace it named POSTER.PNG, after doing so, both POSTER.JPG and POSTER.PNG are left showing in the movie folder.
What is the expected behaviour?
I would expect the original image to be deleted and replaced with the one I am manually uploading no matter what the prefix.
Steps to reproduce:
Happen every time during normal use.
Additional
Have you attached the logfile from the day it happened?