mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #62758
[Bug 1938231] Re: Manage groups page continues even though group does not exist
** Summary changed:
- Manage groups page continues eventhough group does not exist
+ Manage groups page continues even though group does not exist
--
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/1938231
Title:
Manage groups page continues even though group does not exist
Status in Mahara:
Fix Committed
Bug description:
Mahara: 20.10.1
OS: Linux
DB: Postgres
Browser: FF and Chrome
A user can bookmark a page for a group and come back to it at a later
time after that group has been deleted.
The manage groups page should check that the group still exists and
notify the user if doesn't find it.
To replicate:
1. Create a group 'AAA Test' from the page /group/edit
2. As a site admin, go to Administer groups (Admin > Groups > Administer groups)
3. Edit the group 'AAA Test' by clicking on the cog
4. Bookmark the page (for me it's: http://localhost/admin/groups/manage.php?id=283).
5. go back to the Administer groups page and delete the group 'AAA Test'
6. go to the bookmarked page for the deleted group
What should happen:
User should be notified that the group no longer exits
What currently happens:
Warnings appear that group could not be found with a call stack:
Call stack (most recent first):
log_message("Trying to get property 'quotaused' of non-object", 8, true, true, "/siteroot/htdocs/admin/groups/manage.php", 22) at /siteroot/htdocs/lib/errors.php:515
error(8, "Trying to get property 'quotaused' of non-object", "/siteroot/htdocs/admin/groups/manage.php", 22, array(size 58)) at /siteroot/htdocs/admin/groups/manage.php:22
and many more errors as the page continues to display.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1938231/+subscriptions
References