Page MenuHomePhabricator

VisualEditor: "Uncaught TypeError: Cannot call method 'getModel' of null " appears while trying to add newline after a reflist
Closed, ResolvedPublic

Description

Steps to reproduce:

1.Open a page with VE which has a reflist at the end of the page

2.Place your cursor at the end of the page and press enter to add a newline

Observed Result:
No newline gets added and an error appears in the console:

Uncaught TypeError: Cannot call method 'getModel' of null load.php:268
ve.ce.Surface.handleEnter load.php:268
ve.ce.Surface.onDocumentKeyDown load.php:247
proxy load.php:10
ve.EventSequencer.onEvent load.php:21
(anonymous function) load.php:20
jQuery.event.dispatch load.php:45
elemData.handle.eventHandle load.php:38


Version: unspecified
Severity: normal

Details

Reference
bz61932

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:56 AM
bzimport set Reference to bz61932.

Created attachment 14682
Screenshot

Attached:

Screen_Shot_2014-02-25_at_2.51.13_PM.png (757×1 px, 127 KB)

cornel.punga wrote:

I confirm it. Reproduced both steps, same error, no newline added.

This is almost certainly the same as bug 59911; merging with that.

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

This issue got resolved with bug 59911