Public bug reported:

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.

** Affects: mahara
     Importance: High
         Status: In Progress

** Affects: mahara/21.10
     Importance: High
         Status: New

** Affects: mahara/22.04
     Importance: High
         Status: New

** Affects: mahara/22.10
     Importance: High
         Status: In Progress

** Affects: mahara/23.04
     Importance: High
         Status: In Progress

-- 
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:
  In Progress
Status in Mahara 21.10 series:
  New
Status in Mahara 22.04 series:
  New
Status in Mahara 22.10 series:
  In Progress
Status in Mahara 23.04 series:
  In Progress

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

Reply via email to