https://bugzilla.wikimedia.org/show_bug.cgi?id=49551

       Web browser: ---
            Bug ID: 49551
           Summary: VisualEditor: Can't paste into a selection covering
                    the end of the document
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentEditable
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to