Page MenuHomePhabricator

VisualEditor: Dialogs won't open after adding a template at the end of the page
Closed, ResolvedPublic

Description

Adding a template to a page (say, https://en.wikipedia.org/wiki/Eugene_Lies ) for some reason blocks the opening of the page settings dialogue.


Version: unspecified
Severity: normal

Details

Reference
bz50242

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:07 AM
bzimport added a project: VisualEditor.
bzimport set Reference to bz50242.

(In reply to comment #0)

Adding a template to a page (say, https://en.wikipedia.org/wiki/Eugene_Lies )
for some reason blocks the opening of the page settings dialogue.

Is this in Monobook or in Vector? AFAICS this works for me in Vector fine; in Monobook, there's the bug 50241 issue but that's it.

(In reply to comment #1)

(In reply to comment #0)

Adding a template to a page (say, https://en.wikipedia.org/wiki/Eugene_Lies )
for some reason blocks the opening of the page settings dialogue.

Is this in Monobook or in Vector? AFAICS this works for me in Vector fine; in
Monobook, there's the bug 50241 issue but that's it.

Aha, tracked it down:

Uncaught Error: Offset could not be translated to a DOM element and offset: 136 ve.ce.Document.js:187
ve.ce.Document.getNodeAndOffset ve.ce.Document.js:187
ve.ce.Surface.showSelection ve.ce.Surface.js:1296
ve.ce.Surface.onChange ve.ce.Surface.js:745
oo.EventEmitter.emit oo.js:421
ve.dm.Surface.change ve.dm.Surface.js:402
ve.dm.SurfaceFragment.insertContent ve.dm.SurfaceFragment.js:581
ve.ui.MWTransclusionDialog.onClose ve.ui.MWTransclusionDialog.js:110
ve.ui.Window.close ve.ui.Window.js:328
(anonymous function) ve.ui.Dialog.js:118
proxy load.php:775

This is bug 47947 - which we really need to fix now. :-(

  • This bug has been marked as a duplicate of bug 47947 ***