https://bugzilla.wikimedia.org/show_bug.cgi?id=52483

       Web browser: ---
            Bug ID: 52483
           Summary: TemplateData: Fix "TypeError: Cannot read property
                    'content' of undefined" (when applying template
                    changes)
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentEditable
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Looks like we don't account for the API returning an error in
ve.ce.MWTransclusionNode.prototype.generateContents. Unconditionally
response.visualeditor.content is accessed.

API has a clear path both for dieUsage() and result === success.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to