VisualEditor: undefined error during copy
Closed, ResolvedPublic


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)

Version: unspecified
Severity: normal

TheDJ created this task.Via LegacyDec 12 2013, 9:24 AM
TheDJ added a comment.Via ConduitDec 12 2013, 9:32 AM

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

Jdforrester-WMF set Security to None.
Jdforrester-WMF closed this task as "Resolved".Via WebApr 8 2015, 9:01 PM
Jdforrester-WMF claimed this task.

Can't reproduce any more. We did a lot of changes to Select-All in the intervening period, which probably fixed it.

Add Comment