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

            Bug ID: 68235
           Summary: "Unknown error" on officewiki
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MediaWiki integration
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

We get "Unknown error" (not internationalised) when saving on officewiki.

This is because the response object given to ve.init.mw.Target.onSave is
actually a jqXhr(?) object here for some reason, which has an error function.
The data we actually want is in the responseJSON property of this, and we can
also get it via .done( ... ).

This stuff comes through tryWithPreparedCacheKey and the way it fits together
with everything else wasn't very clear here (lots of chaining deferreds etc.)

-- 
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