Last modified: 2013-06-14 18:18:06 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 T51551, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49551 - VisualEditor: Can't paste into a selection covering the end of the document
VisualEditor: Can't paste into a selection covering the end of the document
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Normal normal
: VE-deploy-2013-06-20
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-13 22:22 UTC by Ed Sanders
Modified: 2013-06-14 18:18 UTC (History)
4 users (show)

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


Attachments

Description Ed Sanders 2013-06-13 22:22:18 UTC
1. Copy some plain text
2. Make a selection in the document up to the end of it (e.g. select all)
3. Paste
4. Exception time!

Problem is in ve.dm.Surface line 376:

rightAnnotations = dataModelData.getAnnotationsFromOffset( right );

with right = -1 (out of bounds)
Comment 1 Gerrit Notification Bot 2013-06-14 10:52:07 UTC
Related URL: https://gerrit.wikimedia.org/r/68629 (Gerrit Change I7497b5195961e46718c7382409a66b7eec1162a9)
Comment 2 James Forrester 2013-06-14 18:18:06 UTC
Merged and will go out with wmf8 from Thursday 20 June.

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


Navigation
Links