https://bugzilla.wikimedia.org/show_bug.cgi?id=67514
Bug ID: 67514
Summary: When database is locked (read-only), mobile editor
doesn't know what to do
Product: MobileFrontend
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
Right now, if you try to edit an article on mobile while the database is in
read-only mode, it gives you the error message "Error, can't load section." and
leaves the spinner spinning forever.
Ideally, the mobile editor should detect the 'readonly' error code, close the
editing overlay, and give an appropriate error message. Here is a sample API
response from when the database is locked:
{"servedby":"deployment-apache02","error":{"code":"readonly","info":"The wiki
is currently in read-only mode","readonlyreason":"The database has been
automatically locked while the slave database servers catch up to the master"}}
--
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