← Back to team overview

mahara-contributors team mailing list archive

[Bug 1997298] A change has been merged

 

Reviewed:  https://reviews.mahara.org/c/mahara/+/13561
Committed: https://git.mahara.org/mahara/mahara/commit/dd3a3e790ebe05a48d1960068e3693141104d8e6
Submitter: "Robert Lyon <robertl@xxxxxxxxxxxxxxx>"
Branch:    22.10_DEV

commit dd3a3e790ebe05a48d1960068e3693141104d8e6
Author: Doris Tam <doristam@xxxxxxxxxxxxxxx>
Date:   Fri Nov 25 17:38:58 2022 +1300

Bug 1997298: Error copying annotation embedded files

Only owners of a collection may copy over annoations.
As they will still own the collection, there is no need
to copy the files again as they are the owner and can
continue referencing it.

Change-Id: I59bffb4dd6c47c4d2e8c485c5c78fb6d5388eb23
(cherry picked from commit 9f31bb338a33441bf86ad6c93f113e073f7064da)

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

Title:
  Copying a collection with SmartEvidence throws errors

Status in Mahara:
  Fix Committed
Status in Mahara 22.10 series:
  Fix Committed
Status in Mahara 23.04 series:
  Fix Committed

Bug description:
  When copying a Collection with SmartEvidence the attached errors show
  up.

  This appears to be from the foreach ($evidences as $evidence) loop
  when $newartefact does not appear as a key in $newblocks.

  To replicate:

  * Create a Collection
    * Add SmarteEvidence
    * Add an Annotation block 
  * Copy the Collection.

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



References