mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #38000
[Bug 1629144] [NEW] Error message when copying a SmartEvidence collection with annotations
Public bug reported:
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 non-object
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 /home/kristina/code/1610stable/htdocs/lib/errors.php:513
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
ArtefactTypeAnnotationfeedback::add_annotation_feedback_form(object(ArtefactTypeAnnotation), object(View), null, "1061", false, "0") at /home/kristina/code/1610stable/htdocs/artefact/annotation/lib.php:1132
ArtefactTypeAnnotationfeedback::get_annotation_feedback_for_view(object(ArtefactTypeAnnotation), object(View), "1061", true, false) at /home/kristina/code/1610stable/htdocs/artefact/annotation/blocktype/annotation/lib.php:134
PluginBlocktypeAnnotation::render_instance(object(BlockInstance)) at Unknown:0
call_user_func_array(array(size 2), array(size 1)) at /home/kristina/code/1610stable/htdocs/lib/mahara.php:1730
call_static_method("PluginBlocktypeAnnotation", "render_instance", object(BlockInstance)) at /home/kristina/code/1610stable/htdocs/blocktype/lib.php:1007
BlockInstance->render_viewing(false) at /home/kristina/code/1610stable/htdocs/lib/view.php:2037
View->build_column(1, 1, false, false) at /home/kristina/code/1610stable/htdocs/lib/view.php:1991
View->build_columns(1, false, false) at /home/kristina/code/1610stable/htdocs/lib/view.php:1976
View->build_rows() at /home/kristina/code/1610stable/htdocs/view/view.php:281
----
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.
** Affects: mahara
Importance: High
Status: Confirmed
--
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 mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1629144
Title:
Error message when copying a SmartEvidence collection with annotations
Status in Mahara:
Confirmed
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 non-object
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 /home/kristina/code/1610stable/htdocs/lib/errors.php:513
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
ArtefactTypeAnnotationfeedback::add_annotation_feedback_form(object(ArtefactTypeAnnotation), object(View), null, "1061", false, "0") at /home/kristina/code/1610stable/htdocs/artefact/annotation/lib.php:1132
ArtefactTypeAnnotationfeedback::get_annotation_feedback_for_view(object(ArtefactTypeAnnotation), object(View), "1061", true, false) at /home/kristina/code/1610stable/htdocs/artefact/annotation/blocktype/annotation/lib.php:134
PluginBlocktypeAnnotation::render_instance(object(BlockInstance)) at Unknown:0
call_user_func_array(array(size 2), array(size 1)) at /home/kristina/code/1610stable/htdocs/lib/mahara.php:1730
call_static_method("PluginBlocktypeAnnotation", "render_instance", object(BlockInstance)) at /home/kristina/code/1610stable/htdocs/blocktype/lib.php:1007
BlockInstance->render_viewing(false) at /home/kristina/code/1610stable/htdocs/lib/view.php:2037
View->build_column(1, 1, false, false) at /home/kristina/code/1610stable/htdocs/lib/view.php:1991
View->build_columns(1, false, false) at /home/kristina/code/1610stable/htdocs/lib/view.php:1976
View->build_rows() at /home/kristina/code/1610stable/htdocs/view/view.php:281
----
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:
https://bugs.launchpad.net/mahara/+bug/1629144/+subscriptions
Follow ups
-
[Bug 1629144] Re: Problems with copying a SmartEvidence collection with annotations
From: Kristina Hoeppner, 2016-10-24
-
[Bug 1629144] Re: Problems with copying a SmartEvidence collection with annotations
From: Robert Lyon, 2016-10-21
-
[Bug 1629144] Re: Problems with copying a SmartEvidence collection with annotations
From: Kristina Hoeppner, 2016-10-18
-
[Bug 1629144] A change has been merged
From: Mahara Bot, 2016-10-18
-
[Bug 1629144] A patch has been submitted for review
From: Mahara Bot, 2016-10-18
-
[Bug 1629144] Re: Problems with copying a SmartEvidence collection with annotations
From: Robert Lyon, 2016-10-18
-
[Bug 1629144] A change has been merged
From: Mahara Bot, 2016-10-18
-
[Bug 1629144] A patch has been submitted for review
From: Mahara Bot, 2016-10-18
-
[Bug 1629144] A change has been merged
From: Mahara Bot, 2016-10-18
-
[Bug 1629144] A change has been merged
From: Mahara Bot, 2016-10-18
-
[Bug 1629144] Re: Problems with copying a SmartEvidence collection with annotations
From: Robert Lyon, 2016-10-03
-
[Bug 1629144] Re: Problems with copying a SmartEvidence collection with annotations
From: Robert Lyon, 2016-10-03
-
[Bug 1629144] A patch has been submitted for review
From: Mahara Bot, 2016-10-03
-
[Bug 1629144] Re: Problems with copying a SmartEvidence collection with annotations
From: Robert Lyon, 2016-10-03
-
[Bug 1629144] A patch has been submitted for review
From: Mahara Bot, 2016-10-02
-
[Bug 1629144] Re: Error message when copying a SmartEvidence collection with annotations
From: Robert Lyon, 2016-10-02
-
[Bug 1629144] Re: Error message when copying a SmartEvidence collection with annotations
From: Kristina Hoeppner, 2016-09-30