Need to fix copy page/collection where the original page has obsolete blocks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Robert Lyon |
Bug Description
If a user has a page / collection that contains blocks for blocktype plugins that don't exist on the server anymore it causes the copying to fail as certain functions can't be found during the copying process.
There needs to be a step where the copy process either:
1) Not copy any plugin blocks where the plugin is not active, or
2) Check to see if the version.php file still exists for the plugin first and not copy any blocks where it doesn't, or
3) Have the table column that keeps track of the 'active' status of blocktype plugins to also have the option of '-1' to indicate not active and also files missing (this info could also be displayed on the Admin -> Extensions screen as well) so that the copy process ignores blocks with active status = -1
Changed in mahara: | |
milestone: | 15.10.0 → 16.04.0 |
Changed in mahara: | |
status: | Confirmed → In Progress |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/5874