Last modified: 2012-12-11 02:16:36 UTC
Reproduce by create a new article with VisualEditor. Return down about 10 lines. Type some text, hit command+k (open link inspector) Select an item in the dropdown. Hit enter. Page may freeze but will eventually produce this stack error: Uncaught TypeError: Cannot read property 'type' of undefined ve.dm.Transaction.js:214 ve.dm.Transaction.newFromAnnotation ve.dm.Transaction.js:214 ve.dm.SurfaceFragment.annotateContent ve.dm.SurfaceFragment.js:450 ve.ui.LinkInspector.onClose ve.ui.LinkInspector.js:172 ve.ui.Inspector.close ve.ui.Inspector.js:204 ve.ui.Context.closeInspector ve.ui.Context.js:341 ve.ui.Context.hide ve.ui.Context.js:255 ve.ui.Context.update ve.ui.Context.js:196 ve.ui.Context.onChange ve.ui.Context.js:86 (anonymous function) ve.EventEmitter.js:96 ve.EventEmitter.emit ve.EventEmitter.js:43 ve.dm.Surface.change ve.dm.Surface.js:278 ve.ce.Surface.onSelectionChange ve.ce.Surface.js:293 (anonymous function) ve.EventEmitter.js:96 ve.EventEmitter.emit ve.EventEmitter.js:43 ve.ce.SurfaceObserver.poll ve.ce.SurfaceObserver.js:178 ve.ce.SurfaceObserver.start ve.ce.SurfaceObserver.js:67 ve.ce.Surface.onUnlock ve.ce.Surface.js:313 (anonymous function) ve.EventEmitter.js:96 ve.EventEmitter.emit ve.EventEmitter.js:43 ve.dm.Surface.undo ve.dm.Surface.js:322 ve.HistoryAction.undo ve.HistoryAction.js:43 ve.Surface.execute ve.Surface.js:162 ve.ui.LinkInspector.onClose ve.ui.LinkInspector.js:161 ve.ui.Inspector.close ve.ui.Inspector.js:204 ve.ui.Inspector.onFormSubmit ve.ui.Inspector.js:102 proxy load.php:775 jQuery.event.dispatch load.php:3058 elemData.handle.eventHandle
Fixed in https://gerrit.wikimedia.org/r/#/c/38004/