Delete account when user has locked page blocks not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned | ||
18.10 |
Fix Released
|
High
|
Unassigned | ||
19.04 |
Fix Released
|
High
|
Unassigned | ||
19.10 |
Fix Released
|
High
|
Rebecca Blundell |
Bug Description
TITLE: Delete account when user has locked page blocks not working
BUG SUMMARY: When a user has blocks locked on a portfolio page, an admin cannot delete an account - they will get a site unavailable error
=======
Environment tested: Master & 18.10.0
Browser tested: Chrome
PRECONDITIONS:
-------
1) A regular user exists
2) regular user has a portfolio page with the following settings
a) Lock blocks = Yes (found under the advanced tab when creating a page)
3) regular user has blocks on the portfolio page
TEST STEPS:
-------
1) Log in as Site admin
2) delete the account of a regular user with the preconditions mentioned above
Expected result: The account is deleted
Actual result: an error message is displayed as follows:
"Mahara: Site unavailable - A nonrecoverable error occurred. This probably means you have encountered a bug in the system"
Changed in mahara: | |
status: | New → Confirmed |
importance: | Undecided → High |
Patch for "master" branch: https:/ /reviews. mahara. org/9850