View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
20031Feature requestsUsability/user experiencepublic2025-03-21 14:50
Reportertassoman Assigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Summary20031: Maintenance mode while DB is disconnected
Description

LS 6.x brings a feature discussed into forums, called maintenance mode. Admin are able to stop survey filling and answers collection, by altering a one configuration inside administration backend. See: 10038

When the MySQL DBMS is disconnected, not reachable, YII framework gives back a rude error 500. Application "breaks" own graphical web appeal to a ugly framework message.

Although can be improved, it's correct to give back 500 error page explaining disconnection. The wrong part is missing the whole theme graphic design.

Also, if application had Maintenance mode enabled, it shouldn't give back any error, also when DBMS is disconnected. Just a quiet 200 status with the maintenance page enabled. This is useful when MySQL DBMS goes offline on purpose. For example when the DB server is doing security patching

Additional Information

In this situation, maintenance status should be kept inside config.php file. Also "default" theme data should be put inside the config file. To avoid the need of DB just for rendering the UI web layout.

In final words, application should keep its graphical integrity also when DB goes boooom. More reasonable, if we claimed maintenance mode is on. Dudes, we're really upgrading the DBMS, it's maintenance time ;-)

This feature would very useful in cloud environment such as kubernetes or dockerized installations. The meaning is to have application decoupled from DB while is claimed maintenance mode.

Tagsadmin, SuperAdministrator, theme, usability, ux
Bug heat2
Story point estimate0
Users affected %0

Users monitoring this issue

tassoman

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-03-21 14:44 tassoman New Issue
2025-03-21 14:47 tassoman Issue Monitored: tassoman
2025-03-21 14:47 tassoman Bug heat 0 => 2
2025-03-21 14:50 tassoman Tag Attached: admin
2025-03-21 14:50 tassoman Tag Attached: SuperAdministrator
2025-03-21 14:50 tassoman Tag Attached: theme
2025-03-21 14:50 tassoman Tag Attached: ux
2025-03-21 14:50 tassoman Tag Attached: usability