Last modified: 2014-09-12 15:13:10 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 T72635, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70635 - "Could not create account" error is unhelpful
"Could not create account" error is unhelpful
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Android App (Other open bugs)
Stable
All All
: Unprioritized normal
: ---
Assigned To: Dan Garry
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-09 23:28 UTC by Alex Monk
Modified: 2014-09-12 15:13 UTC (History)
5 users (show)

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


Attachments

Description Alex Monk 2014-09-09 23:28:36 UTC
A few users reported seeing this:
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7779487

And probably these:
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7765031
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7743485
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7713913

The code in CreateAccountActivity.handleError basically checks for 'userexists', 'acct_creation_throttle_hit' and 'sorbs_create_account_reason'... If it's none of those, a useless "Could not create account" error is shown.
Comment 1 Dan Garry 2014-09-09 23:42:14 UTC
I agree that that is a suboptimal set of errors to explicitly handle. We could do better.

The questions here are primarily product ones, namely:
1) What errors from the API should have their own specific messages and handling?
2) What is the cutoff at which we start surfacing the generic error?
3) What should the text of the specific errors say?

Given that I'll likely expend more time in the back-and-forth than if I just look in the codebase myself, I'm going to assume this one is "easy" and take it on as a weekend project.
Comment 2 Gerrit Notification Bot 2014-09-11 04:34:03 UTC
Change 159669 had a related patch set uploaded by Deskana:
Improve the API error handling in the account creation activity.

https://gerrit.wikimedia.org/r/159669
Comment 3 Gerrit Notification Bot 2014-09-12 14:31:45 UTC
Change 159669 merged by jenkins-bot:
Improve the API error handling in the account creation activity.

https://gerrit.wikimedia.org/r/159669

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


Navigation
Links