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

       Web browser: ---
             Bug #: 42212
           Summary: Inserting text content around inline alien nodes
                    throws an exception
           Product: VisualEditor
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Data Model
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Specifically it fails when trying to insert text content between two inline
aliens or after last inline alien inside its parent.

Exception:
Uncaught TypeError: Cannot read property 'start' of undefined
ve.dm.TransactionProcessor.js:259
ve.dm.TransactionProcessor.processors.replace

// Set change markers on the parents of the affected nodes
for ( i = 0; i < selection.length; i++ ) {
    this.setChangeMarker(
        selection[i].parentOuterRange.start + this.adjustment,
        'content'
    );
}

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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