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:

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz11015.
Huji created this task.Via LegacyAug 21 2007, 2:34 PM
brion added a comment.Via ConduitAug 22 2007, 10:03 PM

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. :)

brion added a comment.Via ConduitAug 25 2007, 3:23 PM

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.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.