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

            Bug ID: 73007
           Summary: Flow: API errors in Undo moderation aren't reported to
                    the user
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Flow
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

I was trying to reproduce bug 73003.
1. Login on beta labs
2. Visit a Flow board and hide a topic.
3. In another tab I logged out of beta labs.
4. Then click Undo in the "This topic has been hidden _Undo_" moderated
titlebar

Result: in the browser console Net tab the API response to the unhide operation
is
  "error":{"code":"permissions","info":"Insufficient permissions to execute
this action.","permissions":null, ...
as expected.  But there's no indication of failure in the UI, this error is not
displayed anywhere.

Expected: the API failure displays in a pink errorbox near Undo.

On a local wiki you can replace step 3 with rename api.php to api_DISABLED.php;
you'll see a 503 error in the Net tab.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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