Last modified: 2012-08-30 22:58:24 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 T41749, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39749 - Uploading non-jpg files
Uploading non-jpg files
Status: RESOLVED FIXED
Product: WikiLoves Monuments Mobile
Classification: Unclassified
Upload (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Jon
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-28 20:40 UTC by Jon
Modified: 2012-08-30 22:58 UTC (History)
1 user (show)

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


Attachments

Description Jon 2012-08-28 20:40:47 UTC
I just uploaded a png file and ran into the following error:

D/CordovaLog( 6604): Response = {"servedby":"srv193","error":{"code":"verification-error","info":"This file did not pass file verification","details":["filetype-mime-mismatch","jpg","image\/png"]}}
D/CordovaLog( 6604): file:///android_asset/www/js/api.js: Line 140 : Response = {"servedby":"srv193","error":{"code":"verification-error","info":"This file did not pass file verification","details":["filetype-mime-mismatch","jpg","image\/png"]}}

We should deal with this better.
Comment 1 Jon 2012-08-28 21:02:50 UTC
fixed in https://github.com/wikimedia/WLMMobile/pull/198 (373a671)
Comment 2 Dereckson 2012-08-28 21:40:29 UTC
Bug assigned to code submitter. High/Normal: blocked regular upload process.
Comment 3 Jon 2012-08-30 22:58:24 UTC
Although PNG's cannot be uploaded at least we show an error message now rather than killing app.

We should create a story if we want to support non JPG uploads.

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


Navigation
Links