Page MenuHomePhabricator

VisualEditor: After selecting a focusable node backwards by cursoring, pressing up/down throws an exception
Closed, ResolvedPublic

Description

Steps to reproduce:

1.Open a page with VE which has a reference note in it
2.Now place your cursor after the reference note
3.Press backspace to select the reference note
4.Now press down key to go to the next line

Observed Result:
The cursor does not go to the next line and an error appears in the console:

Uncaught NotFoundError: Failed to execute 'selectNode' on 'Range': The node provided is null.

Environment:Betalabs


Version: unspecified
Severity: normal

Details

Reference
bz67755

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:31 AM
bzimport set Reference to bz67755.

Change 146472 had a related patch set uploaded by Esanders:
Don't handle up/down on focusableNodes even if backwards

https://gerrit.wikimedia.org/r/146472

Change 146472 merged by jenkins-bot:
Don't handle up/down on focusableNodes even if backwards

https://gerrit.wikimedia.org/r/146472

Verified the fix in production en.wiki