Last modified: 2014-10-09 21:10:48 UTC
Created attachment 16623 [details] 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”
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