Page MenuHomePhabricator

"Undefined" uploads via mobile
Closed, ResolvedPublic


Strange bug: some uploads via the lead image upload workflow are showing up as "undefined" when added as thumbnails to the article:

Currently just confirmed on English Wikipedia, but may also be appearing on other local wikis.

Version: unspecified
Severity: major



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:28 AM
bzimport set Reference to bz47103.

This could be related to bad filenames. It seems the error for a bad filename for example doesn't mention anything about an error occurring.

{"warnings":{"main":{"*":"Unrecognized parameters: 'useformat', 'r'"}},"upload":{"result":"Warning","warnings":{"badfilename":"Test_2013-05L-08_08-22.JPG"},"filekey":"11f0ht8dgbxg.ajqpua.1.jpg","sessionkey":"11f0ht8dgbxg.ajqpua.1.jpg"}}

See bug 48261
Let's protect against this and other issues that might be occuring.

Related URL: (Gerrit Change I975007aedeadb75ada35edec35c58868ef497d87) (Gerrit Change I975007aedeadb75ada35edec35c58868ef497d87) | change APPROVED and MERGED [by JGonera]