Page MenuHomePhabricator

VisualEditor: Parsoid diff failure errors are not very descriptive
Closed, ResolvedPublic

Description

Parsoid diff failure errors are not very descriptive - "error loading data from server: unsuccessful request: diff failed." but not why (in this case, it was because the target oldid had been deleted subsequent to the user pressing save, but a more graceful message would be good.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=44354
https://bugzilla.wikimedia.org/show_bug.cgi?id=39057
https://bugzilla.wikimedia.org/show_bug.cgi?id=63149

Details

Reference
bz43147

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:48 AM
bzimport set Reference to bz43147.

Change 157775 had a related patch set uploaded by Jforrester:
Add debugging help to VisualEditor

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

Change 157775 merged by jenkins-bot:
Add debugging help to VisualEditor

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

With the above patch, the former message:

Error loading data from server: parsoidserver-http-bad-status:
500. Would you like to retry?

… turns into:

Error loading data from server: parsoidserver-http-bad-status:
500: Page Fetch failure for "BADURL": Error: getaddrinfo
ENOTFOUND. Would you like to retry?

Which is not ideal, but at least describes things a bit. Marking this as FIXED.