https://bugzilla.wikimedia.org/show_bug.cgi?id=72950

            Bug ID: 72950
           Summary: VisualEditor: [Regression wmf6]“Uncaught Error:
                    Inserted data is trying to close the root node (at
                    index 0)” when applying heading formats with language
                    inspector open.
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: Windows XP
            Status: UNCONFIRMED
          Severity: major
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

Created attachment 17013
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=17013&action=edit
screenshot of JS errors in beta

Environment- test2, beta

1> In a blank page, open the Language inspector.
2> While the inspector is open ,select any Heading format from the
drop-down,for ex- select Heading.
2> The inspector closes and you see the language context menu. 
3> type in some text, it doesn’t take the language annotation(looks like plain
paragraph text)
4> Hit enter and JS error “Uncaught Error: Inserted data is trying to close the
root node (at index 0)”. See screenshot.
5> Notice no matter where your cursor is on the page, the language context menu
never moves from its place or closes for a new line.

In beta an additional  JS error appears at step#2, “Uncaught Error: Offset
could not be translated to a DOM element and offset: 2”.

Reproducible in FF too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to