Last modified: 2014-03-07 20:04:38 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 T60383, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58383 - VisualEditor: Pasting a template throws undefined getModel error
VisualEditor: Pasting a template throws undefined getModel error
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 10:05 UTC by Derk-Jan Hartman
Modified: 2014-03-07 20:04 UTC (History)
7 users (show)

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


Description Derk-Jan Hartman 2013-12-12 10:05:44 UTC
[Error] TypeError: 'undefined' is not an object (evaluating '$'view').getModel')
	getOffsetFromTextNode (load.php, line 244)
	getOffset (load.php, line 244)
	getRange (load.php, line 248)
	pollOnceInternal (load.php, line 319)
	pollOnce (load.php, line 319)
	documentOnBlur (load.php, line 287)
	proxy (load.php, line 10)
	afterPaste (load.php, line 299)
	(anonymous function) (load.php, line 294)
	proxy (load.php, line 10)
Comment 1 Derk-Jan Hartman 2013-12-12 10:06:58 UTC
I have trouble reproducing this one, but I think it sometimes happens if you delete something in a surface and then try to copy something else in that surface. Or if you select a block in the destination and then do a paste replace.

Safari 7
Comment 2 James Forrester 2014-03-07 20:04:38 UTC
I can't reproduce this now (Mac OS X 10.9 / Safari 7.0.2) – can you, or should we mark as WORKSFORME?

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