Last modified: 2012-12-11 02:16:36 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 T44935, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42935 - VisualEditor: While using link inspector, transaction hangs and page eventually explodes.
VisualEditor: While using link inspector, transaction hangs and page eventual...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: VE-deploy-2012-12-10
Assigned To: James Forrester
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-11 01:26 UTC by Rob Moen
Modified: 2012-12-11 02:16 UTC (History)
2 users (show)

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


Attachments

Description Rob Moen 2012-12-11 01:26:07 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
Comment 1 Rob Moen 2012-12-11 02:03:44 UTC
Fixed in https://gerrit.wikimedia.org/r/#/c/38004/

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


Navigation
Links