Page MenuHomePhabricator

VisualEditor: [Regression wmf1] "Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': .." while inserting a comment
Closed, ResolvedPublic

Description

screenshot

Environment-test2

1> In a blank page, insert a comment.
2> open edit comment dialog. While the dialog is still open and cursor is blinking inside it, select any of the font styles except Language. For ex- select Bold or Italic.

JS console error is -:

“Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node”


Version: unspecified
Severity: critical

Attached:

s.PNG (1×2 px, 97 KB)

Details

Reference
bz71418

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 3:47 AM
bzimport set Reference to bz71418.

This bug also causes VE to throw errors when loading on pages like http://www.mediawiki.org/wiki/Parsoid/Deployments?debug=true&veaction=edit . This bug happens when an annotated inline node appears at the start of a paragraph.

Change 163636 had a related patch set uploaded by Catrope:
Followup a618491: fix JS errors when slugging near annotated inline nodes

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

Change 163636 merged by jenkins-bot:
Followup a618491: fix JS errors when slugging near annotated inline nodes

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

Change 163656 had a related patch set uploaded by Jforrester:
Followup a618491: fix JS errors when slugging near annotated inline nodes

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

Change 163656 merged by Catrope:
Followup a618491: fix JS errors when slugging near annotated inline nodes

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

Issue resolved in test2, but can be reproduced in beta.

(In reply to Ritu Swain from comment #6)

Issue resolved in test2, but can be reproduced in beta.

Issue fixed in beta as well.

Verified the fix in production