Page MenuHomePhabricator

Cite (non-configured) > Basic causes a JS fatal — "Cannot read property 'getRange' of undefined"
Closed, ResolvedPublic1 Estimate Story Points

Description

ve.dm.MWReferenceModel.js?f3f21:148 Uncaught TypeError: Cannot read property 'getRange' of undefined(…)

Thrown from https://github.com/wikimedia/mediawiki-extensions-Cite/blob/a42c656c53768fc09d41a34fa6b366529773af2c/modules/ve-cite/ve.dm.MWReferenceModel.js#L148

Details

Related Gerrit Patches:
mediawiki/extensions/VisualEditor : masterUse a blank temp document when selection is empty

Event Timeline

Restricted Application added subscribers: Jay8g, Luke081515, TerraCodes, Aklapper. · View Herald TranscriptNov 10 2016, 10:26 PM

Change 320937 had a related patch set uploaded (by Esanders):
Use a blank temp document when selection is empty

https://gerrit.wikimedia.org/r/320937

Change 320937 merged by jenkins-bot:
Use a blank temp document when selection is empty

https://gerrit.wikimedia.org/r/320937

Jdforrester-WMF closed this task as Resolved.Nov 11 2016, 12:42 AM
Jdforrester-WMF assigned this task to Esanders.
Jdforrester-WMF moved this task from To Triage to TR0: Interrupt on the VisualEditor board.