https://bugzilla.wikimedia.org/show_bug.cgi?id=63085
Bug ID: 63085 Summary: VisualEditor: Cannot save a page after undoing inserting reference on it Product: VisualEditor Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: ContentEditable Assignee: jforrester+veteambztick...@wikimedia.org Reporter: ryasm...@wikimedia.org CC: da...@sheetmusic.org.uk, jforres...@wikimedia.org, krinklem...@gmail.com, ryasm...@wikimedia.org Web browser: --- Mobile Platform: --- Created attachment 14903 --> https://bugzilla.wikimedia.org/attachment.cgi?id=14903&action=edit screenshot There are wide varieties of type errors I get for undoing typing references in different way.I will try to document each cases in this same bug report: Case 1: Steps to reproduce: 1.Insert a reference with text for example : reference[1] 2.Press "Undo" Error 1: Uncaught TypeError: Cannot read property 'length' of undefined 3.Place the cursor at the end of the text Error 2: Uncaught Error: ve.dm.Document.getNodeFromOffset(): offset 12 is out of bounds Case 2: 1.Insert two references with text , for example: reference [1] reference [2] 2.Now keep on pressing Undo untill the page gets empty Errors: Uncaught TypeError: Cannot read property 'length' of undefined VM484:296 Uncaught Error: Offset could not be translated to a DOM element and offset: 12 VM484:447 Uncaught Error: Invalid end offset: 21 VM484:252 Uncaught Error: Unbalanced input passed to document In both cases, after the Undo action , clicking on "Save Page" does not do anything. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l