Last modified: 2011-03-05 03:36:04 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 T29862, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27862 - emailing via API seems to be broken
emailing via API seems to be broken
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-05 02:57 UTC by Ryan Kaldari
Modified: 2011-03-05 03:36 UTC (History)
5 users (show)

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


Attachments

Description Ryan Kaldari 2011-03-05 02:57:22 UTC
Whenever I attempt to use the API to email someone (action=emailuser), I get the following response:

{"emailuser":{"result":"Failure","message":{"ok":true,"value":null,"successCount":0,"failCount":0,"errors":[],"cleanCallback":false}}}

I've checked to make sure I'm using a valid email token and that the target has an email address registered. And I'm doing a POST rather than a GET. Not sure what else could be the problem.
Comment 1 Ryan Kaldari 2011-03-05 03:00:40 UTC
Nevermind, it seems to send the emails anyway.
Comment 2 Bawolff (Brian Wolff) 2011-03-05 03:02:41 UTC
re-opening, returning failure on success is still a form of brokenness. It looks like bug was introduced in r77714.
Comment 3 Ryan Kaldari 2011-03-05 03:05:02 UTC
Reducing severity per above.
Comment 4 Bawolff (Brian Wolff) 2011-03-05 03:36:04 UTC
fixed r83270

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


Navigation
Links