Page MenuHomePhabricator

CX2: JavaScript error after clicking on reference
Closed, DuplicatePublicBUG REPORT


  1. Start translating en:Specific_rotation to Spanish
  2. Translate leading paragraph using Apertium
  3. Save, go back to dashboard and load article again
  4. Click on first reference

Here is the screenshot illustrating the position of the faulty reference:

JS-reference-error.png (932×1 px, 128 KB)

The error logged in console is:

Uncaught TypeError: Cannot read property 'element' of null
    at (ve.ce.View.js?3b2e6:109)
    at (ve.ce.LeafNode.js?6653a:45)
    at (ve.ce.GeneratedContentNode.js?0141c:220)
    at (ve.ce.MWTransclusionNode.js?20690:183)
    at (ve.ce.GeneratedContentNode.js?0141c:354)
    at ve.ce.GeneratedContentNode.js?0141c:291
    at fire (jquery.js?6a07d:3268)
    at Object.fireWith [as resolveWith] (jquery.js?6a07d:3398)
    at Object.deferred.(/anonymous function) [as resolve] (
    at (ve.ce.MWTransclusionNode.js?20690:171)