Uploading an image which has been deleted gives "file with this name exists" warning
Closed, ResolvedPublic

Description

Author: gunter.schmidt

Description:
When you upload a picture, that had been in the database, you get a warning, the picture exists, even
though is does not.

Test:

  1. Upload a picture successfully.
  2. Delete the Image:article.png. The corresponding image file is physically removed.
  3. Restore Image:article.png (you acutally need to restore the image article first). "No file by this

name exists, you can upload it."

  1. Click on the upload it - link and upload the image again.
  2. 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.


Version: unspecified
Severity: normal

Details

Reference
bz9019
bzimport set Reference to bz9019.
bzimport added a subscriber: Unknown Object (MLST).
aaron added a comment.Mar 15 2007, 3:40 PM

Done in r20490.

Gilles moved this task from Untriaged to Done on the Multimedia board.Dec 4 2014, 10:52 AM

Add Comment