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

            Bug ID: 62797
           Summary: VisualEditor: Attempting to insert a math function on
                    a slug throws the error: Cannot call method 'update'
                    of null and adds empty math tags after inserting
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: jforrester+veteambztick...@wikimedia.org
          Reporter: ryasm...@wikimedia.org
                CC: jforres...@wikimedia.org, krinklem...@gmail.com,
                    rm...@wikimedia.org, ryasm...@wikimedia.org,
                    tpars...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

Created attachment 14850
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=14850&action=edit
The error

Steps to reproduce:


1.Open a page with VE which has slug in it
2.Place your cursor in the slug and open the math inspector
3.Now type something inside the math inspector


Observed Issue 1: 
It throws an error:
Cannot call method 'update' of null

And if you insert the math function and save the page and then go to edit
source , you will see an empty math rag has also been added to the page

Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5 
Page:http://en.wikipedia.beta.wmflabs.org/w/index.php?title=User:RYasmeen_(WMF)&action=edit

See the screenshots attached

-- 
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

Reply via email to