Page MenuHomePhabricator

VisualEditor: API paction=serialize should say so if Parsoid is unavailable (instead of status "success" with missing content)
Closed, ResolvedPublic


  1. Parsoid not running, VisualEditor enabled on to-be-created page X
  2. Enter a few words
  3. "Review and Save"
  4. Loader keeps spinning indefinitely





No errors.

Note this bug could also be reported as "Loader keeps spinning forever when creating a new page and trying to review/save it"

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:32 AM
bzimport set Reference to bz47581.

Related URL: (Gerrit Change Icdf64a792c13a326f494e051be47f2946928d142)

(In reply to comment #1)

Related URL: (Gerrit Change

This fixed the visible problem described below:

(In reply to comment #0)

as "Loader keeps spinning forever when creating a new page and
trying to review/save it"

The error is now handled by stopping the spinner (as we always do after an aborted load) and display the error.

The error message in my case was "No Wikitext content in response from server" triggered from's patch where there are no errors and eventually finds this by type-checking the content property.

Lowering priority. Todo tasks:

  • Don't return status "success" if content is missing, but use status "error".
  • Make it not just status "error" but actually trigger a proper API response.error property with a more direct error, namely that the Parsoid server is unavailable.

Related URL: (Gerrit Change I6bdd177bc9b5a0af9107cf08d8e46470c6778e12)

Merged into master; will go out with wmf5.