Last modified: 2014-09-25 01:57:03 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 T70915, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68915 - VisualEditor: Triggering context on link after defocus throws "TypeError: Cannot read property 'isCollapsed' of null"
VisualEditor: Triggering context on link after defocus throws "TypeError: Can...
Status: RESOLVED WORKSFORME
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: High major
: ---
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-31 11:58 UTC by Krinkle
Modified: 2014-09-25 01:57 UTC (History)
4 users (show)

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


Attachments

Description Krinkle 2014-07-31 11:58:37 UTC
1. Click on a link to show the context menu.
2. Right click on the description of the link in the context menu (eg. name of page the link points to).
3. Choose "Inspect element" which will defocus the page.
4. Click on the link again, thus putting the cursor back in the page; somewhere in the linked word.

After the context menu re-appears, a callback from AnnotagionInspector run via a OO.ui.Process throws:

Uncaught TypeError: Cannot read property 'isCollapsed' of null 
> ve.ui.AnnotationInspector.prototype.getSetupProcess = function () {
>   ..
>   .. fragment.getRange().isCollapsed()
 (anonymous function) ve.ui.AnnotationInspector.js:159
 (anonymous function) oojs-ui.js:3030
 (anonymous function)
 jQuery.extend.Deferred
 promise.then
 OO.ui.Process.execute oojs-ui.js:3067
 OO.ui.Window.setup oojs-ui.js:1902
Comment 1 Krinkle 2014-09-24 21:35:41 UTC
Can't reproduce.

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


Navigation
Links