https://bugzilla.wikimedia.org/show_bug.cgi?id=30625

--- Comment #4 from Brion Vibber <br...@wikimedia.org> 2012-05-23 19:35:52 UTC 
---
We had to revert that version as it was a bit janky.

When there are warnings, the 'warnings' object is an object in JSON output, but
when there are none it ends up becoming an array.

The additional check for empty warnings then got added to check for a 0 length
attribute, which would be the wrong check on an object.

Warnings such as 'bad-prefix' for 'IMG_132483247.JPG' were getting reported,
making it impossible to upload files directly from a camera since those
warnings were seen as 'unknown-warning'.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to