Page MenuHomePhabricator

VisualEditor: Inserting a formula into a block slug throws "Uncaught TypeError: Cannot call method 'update' of null" and inserts empty formula
Closed, ResolvedPublic

Description

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


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=58286

Attached:

Screen_Shot_2014-03-18_at_11.12.38_AM.png (678×1 px, 166 KB)

Details

Reference
bz62797

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:00 AM
bzimport set Reference to bz62797.

Created attachment 14851
The empty math tag

Attached:

Screen_Shot_2014-03-18_at_11.17.53_AM.png (769×1 px, 138 KB)

  • This bug has been marked as a duplicate of bug 58286 ***