Handle broken plugins better
Bug #639582 reported by
Andrew Nicols
This bug report is a duplicate of:
Bug #629209: Improve error reporting when plugins are missing.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
New
|
Undecided
|
Unassigned |
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.
To post a comment you must log in.
Thinking about it, it may make sense to do more intensive tests as part of the upgrade procedure.