https://bugzilla.wikimedia.org/show_bug.cgi?id=68472
Bug ID: 68472
Summary: Flow: reopen topic "Failed contacting Parsoid" API
error not reported to 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], [email protected]
Web browser: ---
Mobile Platform: ---
While testing reopen topic, I repeatedly Close topic/Reopen topic on
mediawiki.org. After about three attempts, the titlebar stopped responding --
no textarea with a submit button appeared.
In the browser console net tab, the GET api.php action=flow,
submodule=view-post, cotmoderationState=reopen request is getting an error
response:
{"servedby":"mw1201","error":{"code":"internal_api_error_Flow\\Exception\\WikitextException","info":"Exception
Caught: Failed contacting Parsoid","*":""}}
and the console prints the info message in a warning from
FlowBoardComponent.UI.showError(),
but nothing is reported to the user. All API failures must result in a pink
errorbox so the user knows something went wrong.
To be clear, "Failed contacting parsoid" isn't the issue, not reporting
anything is.
I couldn't reproduce on my local wiki. I stopped parsoid while viewing a Flow
board. When I clicked Reopen topic the GET succeeded and the form displayed,
and it was only when I submitted from the form that the POST got an error, and
correctly showed it in an error box.
--
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