Reviewed:  https://reviews.mahara.org/9963
Committed: 
https://git.mahara.org/mahara/mahara/commit/0f765fc4faf2920cf1f41ea9dd7b5ae0438a92ff
Submitter: Robert Lyon (robe...@catalyst.net.nz)
Branch:    18.10_STABLE

commit 0f765fc4faf2920cf1f41ea9dd7b5ae0438a92ff
Author: Rebecca Blundell <rebeccablund...@catalyst.net.nz>
Date:   Wed Apr 24 17:16:10 2019 +1200

Bug 1817783: Lockblocks prevent a user from being deleted

Add code to remove lockblocks from a page
so that the page can successfully be deleted by the site admin
or the page owner.

behatnotneeded

Change-Id: I247bac245d3f9447c701b8db48dad9be15c15070
(cherry picked from commit d73d68fce0750e791c5e83ad8402122e2f8cd584)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1817783

Title:
   Delete account when user has locked page blocks not working

Status in Mahara:
  Fix Committed
Status in Mahara 18.10 series:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Committed
Status in Mahara 19.10 series:
  Fix Committed

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"

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1817783/+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