Page MenuHomePhabricator

Category tree should show a better error message when an error page is returned from the server
Closed, ResolvedPublic

Description

Screen shot of the error message

I was expanding some subcategories in the category tree, on Simple English wikipedia, when I got what you can see in the attached image. I think it would be a good idea to update the CategoryTree extensions (or maybe the AJAX functions of MW itself, in a way that a more user friendly message is shown in such (although rare) occasions when the server doesn't returned the data in the expected format.


Version: unspecified
Severity: minor

Attached:

Screenshot.png (373×970 px, 14 KB)

Details

Reference
bz11015

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:52 PM
bzimport set Reference to bz11015.
bzimport added a subscriber: Unknown Object (MLST).

Heh.

That _shouldn't_ happen; the AJAX call code _should_ be detecting that it get an error response and not pass back the rest of the contents to the high-level code.

It may not be properly checking, though. :)

Ok, CategoryTree itself is choosing to display the raw text as an error message, interesting. :)

I've changed this to make a nice clean error message and a retry link in r25135.