Page MenuHomePhabricator

VisualEditor: Cannot go to a newline after undoing a heading format and Uncaught TypeError: Cannot call method 'getModel' of null appears in the console
Closed, ResolvedPublic

Description

Screenshot

Steps to reproduce:

1.Open a page with VE
2.Create a heading
3.Undo creating the heading and type something in that line instead
4.Press enter

Observed Result:

Uncaught TypeError: Cannot call method 'getModel' of null appears in the console and user cannot go to the next line anymore and has to cancel that session.

See the screenshot attached,

Test Environment: https://test2.wikipedia.org/
Browser: Chrome Version 26.0.1410.65
OS: MAC OS X 10. 8. 5
Page:
https://test2.wikipedia.org/w/index.php?title=27thfebchrome&veaction=edit


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-02-27_at_11.31.46_AM.png (778×994 px, 141 KB)

Details

Reference
bz62015

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:01 AM
bzimport set Reference to bz62015.

It happens in FireFox too, but the error message is different there:
TypeError: outermostNode is null

...unt=outerParent.getChildren().length;if(outermostNode.type==='listItem'&&outerPa...

I'm going to take a wild guess and claim that this is a DUPE of bug 59911, but we should verify.

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