Manage groups page continues even though group does not exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned |
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://
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/
error(8, "Trying to get property 'quotaused' of non-object", "/siteroot/
and many more errors as the page continues to display.
Changed in mahara: | |
status: | New → In Progress |
importance: | Undecided → High |
milestone: | none → 21.10.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
summary: |
- Manage groups page continues eventhough group does not exist + Manage groups page continues even though group does not exist |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/11876