Page MenuHomePhabricator

VisualEditor: JS TypeError when Parsoid returns an error
Closed, ResolvedPublic

Description

Steps to reproduce issue:

  • Load VisualEditor on a page where the server will return in error (to simulate, call mw.loader.load('ext.visualEditor.viewPageTarget') from the console on a page where VE is not enabled, e.g. the Manual namespace on mw.org)
  • Click Cancel on the server error alert()
  • Witness said error on your console.

Version: unspecified
Severity: normal

Details

Reference
bz43216

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:53 AM
bzimport set Reference to bz43216.

Coiby.Xu wrote:

I meet this problem, too

Now fixed - you get the message: "Error loading data from server: novenamespace: VisualEditor is not enabled in namespace 100. Would you like to retry?"

Arguably the option to retry should be skipped, but marking this as now fixed.

J.