Reviewed:  https://reviews.mahara.org/c/mahara/+/13640
Committed: 
https://git.mahara.org/mahara/mahara/commit/9553335279b076b85a908e0e0fa5fe0de91cfe1a
Submitter: "Robert Lyon <[email protected]>"
Branch:    22.10_DEV

commit 9553335279b076b85a908e0e0fa5fe0de91cfe1a
Author: Robert Lyon <[email protected]>
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 <[email protected]>
(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:
  Fix Committed
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     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to