Reviewed: https://reviews.mahara.org/c/mahara/+/13641 Committed: https://git.mahara.org/mahara/mahara/commit/42bec0a01fef51efc3b3dbe44ff9a651f28f650a Submitter: "Robert Lyon <robe...@catalyst.net.nz>" Branch: 22.04_DEV
commit 42bec0a01fef51efc3b3dbe44ff9a651f28f650a Author: Robert Lyon <robe...@catalyst.net.nz> Date: Thu Nov 3 09:36:24 2022 +1300 Bug 1995527: Need to check module is installed before deleting content When deleting a page or collection Which can happen when deleting - a group - a user etc Change-Id: I25889d71295bd3741c8479beb69c4746541a8dfd Signed-off-by: Robert Lyon <robe...@catalyst.net.nz> (cherry picked from commit eded804f49f537bb3aa1f91be8f858b5f1c8386b) -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: mahara-contributors https://bugs.launchpad.net/bugs/1995527 Title: Unable to delete a group Status in Mahara: Fix Committed Status in Mahara 21.10 series: Fix Committed Status in Mahara 22.04 series: Fix Committed Status in Mahara 22.10 series: In Progress Status in Mahara 23.04 series: Fix Committed Bug description: When I try to delete a group when the submissions plugin is not installed I get the following message: ERROR: relation "module_submissions" does not exist This module may not be installed if upgrading from older system. Need to add an if_plugin_installed() check similar to is_plugin_active() so we can check if a plugin has been installed at some point even if it's not active currently - because when deleting a group we want to delete the info for the plugin even if it's not active. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1995527/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp