Last modified: 2014-02-28 23:05:09 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 T60379, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58379 - VisualEditor: undefined error during copy
VisualEditor: undefined error during copy
Status: NEW
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
All All
: Unprioritized normal
: ---
Assigned To: Editing team bugs – take if you're interested!
Depends on:
Blocks: ve-richpaste
  Show dependency treegraph
Reported: 2013-12-12 09:24 UTC by Derk-Jan Hartman
Modified: 2014-02-28 23:05 UTC (History)
8 users (show)

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


Description Derk-Jan Hartman 2013-12-12 09:24:09 UTC
I selected all VE content from: "It is important to make", up to "Mediawiki-l mailinglist thread "mysql5 binary schema" 25.03.2009"

I could pinpoint it to trying to copying the Header "scripts" and the warning template that follows it.

[Error] TypeError: 'undefined' is not an object (evaluating 'delete children[i].values[attribute]')
	removeAttributeRecursive (load.php, line 20)
	removeAttributeRecursive (load.php, line 20)
	removeHtmlAttribute (load.php, line 20)
	getClonedElement (load.php, line 202)
	cloneElements (load.php, line 170)
	onCopy (load.php, line 292)
	proxy (load.php, line 10)
	dispatch (load.php, line 45)
	eventHandle (load.php, line 38)
Comment 1 Derk-Jan Hartman 2013-12-12 09:32:50 UTC
On Safari 7 btw:

I have a slight suspicion thrown Undefined errors like these during copy might also be responsible for the broken internal links that are pasted: [[|Manual:Restoring a wiki from backup]]

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