mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #06282
[Bug 824445] A change has been merged
Reviewed: https://reviews.mahara.org/578
Committed: http://gitorious.org/mahara/mahara/commit/0a694de54c37f00e8c2c826f46f319a59e9bb0a8
Submitter: Francois Marier (francois@xxxxxxxxxxxxxxx)
Branch: master
commit 0a694de54c37f00e8c2c826f46f319a59e9bb0a8
Author: Andrew Robert Nicols <andrew.nicols@xxxxxxxxxxx>
Date: Thu Aug 11 11:54:48 2011 +0100
Bug #824445: Improve error reporting for missing plugins
This set of changes attempts to handle missing plugins in a better fashion.
Rather than throwing an uncaught error which causes a unrecoverable site
error, which in turn means that no user can use any other plugin; this
patch disables the problem plugin and informs administrators of the issue.
To handle the case where core plugins, which under normal circumstances
cannot be disabled, are missing and disabled; the plugins.tpl template is
also changed to test for the contents of the activateform, instead of
whether the plugin can ordinarily be disabled. This means that if the issue
is then fixed, the plugin can once again be re-enabled, at which point the
[ hide ] link will no longer appear.
Change-Id: I6f9fa73ae0ac307b5f5f8f30b8205690926f54fc
Signed-off-by: Andrew Robert Nicols <andrew.nicols@xxxxxxxxxxx>
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/824445
Title:
Missing Plugins Should be disabled automatically
Status in Mahara ePortfolio:
In Progress
Bug description:
If a plugin has been installed, but then goes away (e.g. it is moved
or the user wants to uninstall it by removing the plugin directory),
this can cause various frustrations and site issues (unrecoverable
error) which prevent all users from using any plugin.
We should attempt to handle at least the base issue - a plugin going
away should not break use of every other plugin.
I've written a patch which wraps safe_require. This disables the
plugin and alerts administrators of the issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/824445/+subscriptions
References