Page MenuHomePhabricator

Impossible to re-upload deleted image
Closed, ResolvedPublic

Description

Author: ispi

Description:
For version 1.18alpha (r95552) without upload wizard a warning message and 3 option buttons apear when trying to re-upload a deleted image. However, the buttons "Submit modified file description" and "Ignore warning and save file anyway" do not work and lead back to the upload form. Note: uploading files on the above quoted wiki requires registration and log-in.
~~~~


Version: 1.18.x
Severity: normal
URL: http://species-id.net/openmedia/Main_Page

Details

Reference
bz30588

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:55 PM
bzimport set Reference to bz30588.
bzimport added a subscriber: Unknown Object (MLST).

Probably the same as bug 30505. Don't know if that bug was affecting 1.18 though.

(In reply to comment #1)

Probably the same as bug 30505. Don't know if that bug was affecting 1.18
though.

Related perhaps, but almost certainly not in the sense of a split File/File-page situation. From all I know the images were regularly deleted through the wiki interface.

Can you try to reproduce this ?

  1. Upload a new file through Special:Upload
  2. Delete it the normal way (action=delete) which deleted both file-page and file itself (to file-archive), hidden from view and logged the action in Special:Log
  3. Do a new upload from Special:Upload to the same filename of the file that once existed but was deleted. Does that work without any warnings or stuff ? (there may be a warning "you're uploading to a filename that was recently deleted, that's fine).

Actually perhaps this is intentional (but extremely confusing behaviour)

The "Submit modified file description" means "I changed something please try again and see if the warnings go away". However the fact that there was previously a deleted file there will never change, so that will always trigger another warning. "Ignore warning and save file anyways" is the button you want to hit (I think).

If this is intended behaviour, its really confusing behaviour. I think the three button warning interface needs to be re-thought for usability.

Bryan.TongMinh wrote:

(In reply to comment #4)

Actually perhaps this is intentional (but extremely confusing behaviour)

The "Submit modified file description" means "I changed something please try
again and see if the warnings go away". However the fact that there was
previously a deleted file there will never change, so that will always trigger
another warning. "Ignore warning and save file anyways" is the button you want
to hit (I think).

If this is intended behaviour, its really confusing behaviour. I think the
three button warning interface needs to be re-thought for usability.

The behaviour you described is intended indeed. I agree that somebody should rethink the usability aspects of this.

ispi wrote:

Yes, I can reproduce this behaviour by using the edit tab and "delete all" on the left side under "File history", then attempt to re-upload the deleted file. Since this is apparently intentional, it would be helpful to a) reword the error message, b) delete the first 2 of the 3 buttons at the bottom ("Submit modified file description" and "Ignore warning and save file anyway"), and c) reword the 3rd button from "Cancel upload and return to the upload form" to "Return to the upload form". Thanks for all the comments.

Contrary to what I assumed, what Mr Zelazny describes is indeed the situation that the files are deleted, but the page remained as assumed by bawolff ... However, we can confirm that this is a problem in the newest 1.18 version.

matmarex subscribed.

I can't reproduce this today. It is possible to complete the upload by choosing to ignore the warnings. This was probably the same issue as T29021 or T32505.