mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #61895
[Bug 1922841] Re: Can't copy personal locked portfolio
** Changed in: mahara
Status: Fix Committed => Fix Released
--
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/1922841
Title:
Can't copy personal locked portfolio
Status in Mahara:
Fix Released
Bug description:
To replicate:
1. Set up auto-copy collection with a primary statement that locks the portfolio (new functionality for 21.04 of collection template and auto-copy).
2. Create a new account.
3. Run the cron so that the portfolio is copied.
4. Log in as portfolio owner and share the portfolio with a verifier.
5. Log in as verifier and tick the statement.
6. Log back in as portfolio owner.
7. Copy the collection / copy a page within the collection.
Result:
Expected: The copying works.
Actual: Error message:
[WAR] 0a (lib/view.php:432) View::create_from_template: Attempting to create a View from another View that is not marked as a template
Call stack (most recent first):
View::create_from_template() at /home/kristina/code/mahara/htdocs/lib/collection.php:436
Collection::create_from_template() at /home/kristina/code/mahara/htdocs/lib/view.php:7775
copyview() at /home/kristina/code/mahara/htdocs/view/copy.php:34
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1922841/+subscriptions