mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #21082
[Bug 1373226] Re: Missing plugins not disabled cleanly.
** Changed in: mahara
Milestone: 1.10.0 => 1.10.1
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1373226
Title:
Missing plugins not disabled cleanly.
Status in Mahara ePortfolio:
Triaged
Bug description:
While working on bug505732, I've found that having data but not files
for a plugin results in the same errors described in bug629209
(Mahara: Site unavailable. A nonrecoverable error occured. This
probably means you have encountered a bug in the system).
This is because the plugin isnot marked inactive when the safe_require
fails, and later code doesn't check whether a plugin is active before
attempting to again require and use the plugin.
With the patch that I intend to submit to Gerrit, the page is loaded
as normal, with the missingplugindisabled message included.
(Currently tested with the extensions page; I've seen that I need to
make further changes to cover other cases where the plugin is also
used without the active flag being checked).
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1373226/+subscriptions
References