Submitter: Aaron Wells (
Branch:    master

commit 4254e377519daed79148b4c39c35e0adb17bbfc1
Author: Robert Lyon <>
Date:   Mon Oct 3 14:40:47 2016 +1300

Bug 1629144: Allow copying of the framework evidence

If the user copying the collection is also the owner

Copies the annotation block's evidence mapping
but not the assessment/feedback.


Change-Id: I0b587889912f18f39035eb200cbe76a7cc7ae893
Signed-off-by: Robert Lyon <>

You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or forum before editing or unsubscribing it!

  Problems with copying a SmartEvidence collection with annotations

Status in Mahara:
  In Progress

Bug description:
  Mahara 16.10dev

  1. Set up a SmartEvidence collection.
  2. Put a couple of annotations on the page.
  3. Add a couple of feedbacks to the annotations.
  4. Copy the collection in the same user account.
  5. Open a page that has an annotation.

  I get the following error message multiple times:

  [WAR] 5f (artefact/annotation/lib.php:1294) Trying to get property of 
  Call stack (most recent first):

      log_message("Trying to get property of non-object", 8, true, true, 
"/home/kristina/code/1610stable/htdocs/artefact/ann...", 1294) at 
      error(8, "Trying to get property of non-object", 
"/home/kristina/code/1610stable/htdocs/artefact/ann...", 1294, array(size 13)) 
at /home/kristina/code/1610stable/htdocs/artefact/annotation/lib.php:1294
 object(View), null, "1061", false, "0") at 
 object(View), "1061", true, false) at 
      PluginBlocktypeAnnotation::render_instance(object(BlockInstance)) at 
      call_user_func_array(array(size 2), array(size 1)) at 
      call_static_method("PluginBlocktypeAnnotation", "render_instance", 
object(BlockInstance)) at 
      BlockInstance->render_viewing(false) at 
      View->build_column(1, 1, false, false) at 
      View->build_columns(1, false, false) at 
      View->build_rows() at 


  If possible, the annotations should be linked to the map in the copied
  collection. Currently, the annotations display on the page, but their
  status doesn't shop up on the smartEvidence overview page.

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to