VisualEditor: Templated tables seem to fail in copy paste
Closed, ResolvedPublic


Copy one of the tables there. You get an error in fixupInsertion

[Error] TypeError: 'undefined' is not an object (evaluating 'source.clone')
copy (load.php, line 94)
getClonedElement (load.php, line 39)
fixupInsertion (load.php, line 120)
fixupInsertion (load.php, line 119)
newFromDocumentInsertion (load.php, line 71)
afterPaste (load.php, line 299)
(anonymous function) (load.php, line 294)
proxy (load.php, line 10)

This does not seem related to bug 58318. The table also doesn't render as it should in the original surface, with slugs above and below it inside the table. Possibly caused by the usage of templates for row construction.

Version: unspecified
Severity: normal

TheDJ created this task.Via LegacyDec 12 2013, 10:19 AM
Jdforrester-WMF added a comment.Via ConduitJun 30 2014, 11:55 PM

Fixed by gerrit 140439.

Jdforrester-WMF set Security to None.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.