mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #67840
[Bug 1995527] Re: Unable to delete a group
To test this you would need to have a site installed before the
submissions plugin existed
1) Install Mahara 20.04_STABLE
2) Upgrade to main
3) Check the extenstions -> plugins page the 'module' submissions should NOT be installed
4) Create a group
5) Delete the group
Expected result:
The group is deleted
Actual result:
There is an SQL error and the group doesn't delete
** Changed in: mahara
Importance: Undecided => High
** Changed in: mahara
Status: New => In Progress
** Also affects: mahara/22.04
Importance: Undecided
Status: New
** Also affects: mahara/23.04
Importance: Undecided
Status: New
** Also affects: mahara/22.10
Importance: High
Status: In Progress
** Also affects: mahara/21.10
Importance: Undecided
Status: New
** Changed in: mahara/23.04
Milestone: None => 23.04.0
** Changed in: mahara/22.10
Milestone: None => 22.10.1
** Changed in: mahara/22.04
Milestone: None => 22.04.4
** Changed in: mahara/21.10
Milestone: None => 21.10.6
** Changed in: mahara/22.04
Importance: Undecided => High
** Changed in: mahara/21.10
Importance: Undecided => High
** Changed in: mahara/23.04
Importance: Undecided => High
** Changed in: mahara/23.04
Status: New => 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:
Confirmed
Status in Mahara 21.10 series:
Confirmed
Status in Mahara 22.04 series:
Confirmed
Status in Mahara 22.10 series:
Confirmed
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
References