Copying a portfolio with SmartEvidence into the group/institution/site level throws errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When you created a portfolio with SmartEvidence and want to add that to the group, institution, or site level, you get the following error message:
[WAR] 80 (lib/collection
Call stack (most recent first):
log_
error(8, "Undefined property: stdClass::$owner", "/home/
Collection:
createview_
Pieform-
Pieform:
pieform(
Note: Groups cannot yet handle SmartEvidence. Therefore, that page would be ignored during the copying process.
To replicate:
1. Create a collection in a non-site admin account. Make sure it includes SmartEvidence. Note: I saw the problem without adding annotations etc.
2. Make the collection copyable to all registered people.
3. Copy the collection into an institution, the site, or the group.
Expected result: It works.
Actual result: You get the above error message.
Changed in mahara: | |
status: | Confirmed → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/11525