← Back to team overview

mahara-contributors team mailing list archive

[Bug 1928270] A patch has been submitted for review

 

Patch for "21.04_STABLE" branch: https://reviews.mahara.org/11786

-- 
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/1928270

Title:
  Be able to delete reviewed and locked portfolios after 6 month

Status in Mahara:
  Fix Committed
Status in Mahara 21.04 series:
  Confirmed
Status in Mahara 21.10 series:
  Fix Committed

Bug description:
  The new 'Review' block in Mahara 21.04 allows for the locking of the
  portfolio. However, at the moment such a portfolio cannot be deleted
  at all.

  In the first instance, we will allow the deletion of the portfolio
  after 6 months. There will be a more comprehensive solution later on.

  To test:

  1. Create an institution template collection (set to 'Current auto-copied template') with portfolio completion.
  2. Add 1 review block and set 'Lock portfolio' to 'Yes'.
  3. Create a new account and run the cron so that the portfolio is created.
  4. Share the portfolio with a person who can do a review.
  5. Log in as the reviewer and approve the review statement.
  6. As portfolio author, check that the portfolio is locked. You can't delete the portfolio.
  7. Wait for 6 months ;-) or rather manipulate the locking date.
  8. Run the cron again and the portfolio should be unlocked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1928270/+subscriptions


References