Download & Extend

Additional uncaught exception when site is offline, causes broken maintenance template

Project:Omega
Version:7.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

When the site is offline because of database failure, custom maintenance template (maintenance-page--offline.tpl.php) will not work. There is an error stating "Additional uncaught exception thrown while handling exception." and no markup is rendered in the page at all.

Comments

#1

Status:active» needs review

This is caused when class_exists() is being called from within alpha_get_theme() and autoloading fails. I have a patch that fixes this by wrapping those calls in a try/catch block. I'm not quite what should be done in the case of an error though, so I have just done nothing.

AttachmentSizeStatusTest resultOperations
1722586-omega-uncaught-exception.patch763 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 0 pass(es).View details | Re-test
nobody click here