← Back to team overview

mahara-contributors team mailing list archive

[Bug 639582] Re: Handle broken plugins better

 

Thinking about it, it may make sense to do more intensive tests as part
of the upgrade procedure.

-- 
Handle broken plugins better
https://bugs.launchpad.net/bugs/639582
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: New

Bug description:
In 1.3, handling of broken plugins is currently not great. There are various examples of invalid bugs, and forum posts of this.
If there's an empty folder in the artefact folder, or an old plugin with an invalid lib.php or version.php, then it all goes bang.
This is particularly true for the artefact plugin type since we loop through the artefact plugins in lib/web.php to add menu items.

Suggest we test whether we have a lib.php and report an error in some way which is a bit less obtuse.





References