Last modified: 2010-01-16 21:12:38 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 T23235, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21235 - Upload API backwards error messages
Upload API backwards error messages
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.16.x
All All
: Normal minor (vote)
: ---
Assigned To: Michael Dale
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-22 14:49 UTC by Russell Blau
Modified: 2010-01-16 21:12 UTC (History)
4 users (show)

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


Attachments

Description Russell Blau 2009-10-22 14:49:11 UTC
In testing client code to use action=upload, I have received at various times the following error messages:

code=<bad-url>
info=fetchfileerror

code=<Error sending request: #28 connect() timed out!>
info=fetchfileerror

code=<Error sending request: #7 couldn't connect to host>
info=fetchfileerror

It seems apparent that the "code" and "info" elements are being reversed; also, the use of < and > delimiters around the info message is inconsistent with how errors are reported by other API modules.
Comment 1 Bryan Tong Minh 2009-10-28 22:23:45 UTC
Switched code/info around in r58291.
Comment 2 Sam Reed (reedy) 2010-01-16 18:54:34 UTC
What's the current state of this bug?

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


Navigation
Links