Last modified: 2012-02-22 23:46:48 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 T36333, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34333 - multi file selection with FF10 fails
multi file selection with FF10 fails
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Highest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-11 15:04 UTC by Saibo
Modified: 2012-02-22 23:46 UTC (History)
5 users (show)

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


Attachments
FF 10: I used multiple selection two times: The first selected file uploads properly. (38.05 KB, image/png)
2012-02-15 19:47 UTC, Rainer Rillke @commons.wikimedia
Details
quick and dirty using parseint (714 bytes, patch)
2012-02-15 21:40 UTC, Rainer Rillke @commons.wikimedia
Details
should be float not int (695 bytes, patch)
2012-02-16 00:39 UTC, Rainer Rillke @commons.wikimedia
Details

Description Saibo 2012-02-11 15:04:04 UTC
At least under Linux with FF10.

Select two files (with holding down shift key), try to upload, result:

testsmiley.jpg
This file might be corrupt, or have the wrong extension.

testsmiley.png
The file you submitted was empty.
Comment 1 Mark A. Hershberger 2012-02-13 17:03:37 UTC
Do you know if this happened with FF9 or Opera?
Comment 2 Saibo 2012-02-14 15:27:25 UTC
(In reply to comment #1)
> Do you know if this happened with FF9 or Opera?

Don't have FF9 easily available.

Same error happening with Opera11.6 and English interface. 
Same error happening with Opera11.6 and English interface and two fresh, never uploaded before files. 
Same error happening with Opera11.6 and English interface and two fresh, never uploaded before files and selection via Ctrl key. 

Could you please tell me if it works for you?
Comment 3 Rainer Rillke @commons.wikimedia 2012-02-15 19:47:08 UTC
Created attachment 10018 [details]
FF 10: I used multiple selection two times: The first selected file uploads properly.

Does not work. Firefox 10.0.1 / windows

The first file selected works but all subsequent files don't.
Comment 4 Rainer Rillke @commons.wikimedia 2012-02-15 21:25:20 UTC
Hehe the error is in 

http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/UploadWizard/resources/mw.fileApi.js

$j.browser.mozilla && $j.browser.version >= '5.0'

returns false for firefox 10
Comment 5 Rainer Rillke @commons.wikimedia 2012-02-15 21:40:37 UTC
Created attachment 10019 [details]
quick and dirty using parseint
Comment 6 Rainer Rillke @commons.wikimedia 2012-02-16 00:39:14 UTC
Created attachment 10020 [details]
should be float not int
Comment 7 Mark A. Hershberger 2012-02-16 00:52:56 UTC
r111604 -- was just about to ask about parseFloat ...
Comment 8 Saibo 2012-02-22 23:46:48 UTC
Reedy deployed the fix to Commons. Works for me with FF 10.0.2 on Linux now (selected two files via holding the Shift key down).

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


Navigation
Links