When you upload a picture, that had been in the database, you get a warning, the picture exists, even
though is does not.
- Upload a picture successfully.
- Delete the Image:article.png. The corresponding image file is physically removed.
- Restore Image:article.png (you acutally need to restore the image article first). "No file by this
name exists, you can upload it."
- Click on the upload it - link and upload the image again.
- Warning: "A file with this name exists already, please check Image:example.gif if you are not sure if
you want to change it."
At this point it would be better to display the error message which comes if you do not restore the
article, but upload a picture with the name of the deleted article. It just gives a warning, that a
previous version had been uploaded.