Last modified: 2014-03-04 06:56:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27885, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25885 - IE upload fails silently on Enter key from wpDestFile
IE upload fails silently on Enter key from wpDestFile
Status: NEW
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.mediawiki.org/wiki/Special...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-11 15:58 UTC by Jim R. Wilson
Modified: 2014-03-04 06:56 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jim R. Wilson 2010-11-11 15:58:54 UTC
In IE, on Special:Upload, hitting the Enter key when wpDestFile is focused causes the upload to fail silently, bringing the user back to the Special:Upload screen, with little indication as to what happened.

I noticed this behavior on MW 1.16.0, and confirmed that it still happens on MediaWiki.org, which is currently running 1.16wmf4 (r76474).

This problem does not occur in Firefox or Safari.

I have only tested IE 8 - I do not know what other IE versions are affected.
Comment 1 Neil Kandalgaonkar 2011-04-18 20:02:16 UTC
Could verify this if user deleted filename, which seems low priority, but need to double check if this occurs if the user *doesn't* delete filename, which is higher priority
Comment 2 Neil Kandalgaonkar 2011-04-21 06:28:19 UTC
I was wrong, it's not about blanking the field. It's about a form submitted (accidentally or by design) by pressing enter. 

The reason this happens is that SpecialUpload.php will only process an upload if the parameter 'wpUpload' is present; in other words, if the user clicked the button. IE doesn't send the button's name or value if you don't click it.

Looks like just a bug, although it seems deliberate so I want to be careful. So far it's hard to determine exactly when 'mUploadClicked' became mandatory.
Comment 3 Thehelpfulone 2012-06-22 19:41:06 UTC
Reassigning to wikibugs-l per bug 37789

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links