Last modified: 2014-06-30 23:55:27 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 T60387, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58387 - VisualEditor: Templated tables seem to fail in copy paste
VisualEditor: Templated tables seem to fail in copy paste
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Low normal
: VE-deploy-2014-07-03
Assigned To: Ed Sanders
:
Depends on:
Blocks: ve-richpaste
  Show dependency treegraph
 
Reported: 2013-12-12 10:19 UTC by Derk-Jan Hartman
Modified: 2014-06-30 23:55 UTC (History)
8 users (show)

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


Attachments

Description Derk-Jan Hartman 2013-12-12 10:19:30 UTC
https://www.mediawiki.org/wiki/Manual:Code?veaction=edit

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.
Comment 1 James Forrester 2014-06-30 23:55:27 UTC
Fixed by Gerrit change #140439.

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


Navigation
Links