← Back to team overview

mahara-contributors team mailing list archive

[Bug 1997298] [NEW] Copying a Collection with SmartEvidence throws errors

 

Public bug reported:

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.

** Affects: mahara
     Importance: Undecided
         Status: New


** Tags: smartevidence

** Attachment added: "Screenshot from 2022-11-22 15-33-30.png"
   https://bugs.launchpad.net/bugs/1997298/+attachment/5631966/+files/Screenshot%20from%202022-11-22%2015-33-30.png

-- 
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:
  New

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



Follow ups