Last modified: 2012-12-06 00:58:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44657, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42657 - VisualEditor: Backspace over a slug at the end of the document throws an error
VisualEditor: Backspace over a slug at the end of the document throws an error
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High major
: VE-deploy-2012-12-10
Assigned To: Inez Korczyński
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-03 19:43 UTC by James Forrester
Modified: 2012-12-06 00:58 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description James Forrester 2012-12-03 19:43:18 UTC
Pressing backspace in a slug at the end of the document throws an error:

* Create a new page (or go to an existing one), and enter "ABCD\n" at the end
* With the cursor in the new slug, press backspace; this throws an error:

Uncaught Error: ve.dm.Document.getNodeFromOffset(): offset 9 is out of bounds
Comment 1 Inez Korczyński 2012-12-06 00:58:28 UTC
Fixed here: https://gerrit.wikimedia.org/r/#/c/37162/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links