*** This bug is a duplicate of bug 1623282 *** https://bugs.launchpad.net/bugs/1623282
** Changed in: mahara Assignee: (unassigned) => Robert Lyon (robertl-9) -- 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/1624951 Title: Exporting all the data for the portfolio is throwing a warning message. Status in Mahara: Confirmed Bug description: Tested on Version 16.04 (Php 5) Steps to reproduce: 1) Navigate to portfolio>Export 2) Choose an export format as standalone HTML website( doesn't matter even if it is Leap2A) 3) Click on all my data for " what do you want to export? " option 4) Click on Generate Export Expected Result: Export should be generated successfully Actual Result: A warning message with php code is displayed, see below [WAR] 97 (artefact/annotation/lib.php:1278) Trying to get property of non-object Call stack (most recent first): log_message("Trying to get property of non-object", 8, true, true, "/var/www/html/mahara/htdocs/artefact/annotation/li...", 1278) at /var/www/html/mahara/htdocs/lib/errors.php:513 error(8, "Trying to get property of non-object", "/var/www/html/mahara/htdocs/artefact/annotation/li...", 1278, array(size 11)) at /var/www/html/mahara/htdocs/artefact/annotation/lib.php:1278 ArtefactTypeAnnotationfeedback::add_annotation_feedback_form(object(ArtefactTypeAnnotation), object(View), null, "108", false, "0") at /var/www/html/mahara/htdocs/artefact/annotation/lib.php:1132 ArtefactTypeAnnotationfeedback::get_annotation_feedback_for_view(object(ArtefactTypeAnnotation), object(View), "108", true, false) at /var/www/html/mahara/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 /var/www/html/mahara/htdocs/lib/mahara.php:1730 call_static_method("PluginBlocktypeAnnotation", "render_instance", object(BlockInstance)) at /var/www/html/mahara/htdocs/blocktype/lib.php:1007 BlockInstance->render_viewing(true) at /var/www/html/mahara/htdocs/lib/view.php:2037 View->build_column(1, 1, false, true) at /var/www/html/mahara/htdocs/lib/view.php:1991 View->build_columns(1, false, true) at /var/www/html/mahara/htdocs/lib/view.php:1976 View->build_rows(false, true) at /var/www/html/mahara/htdocs/export/html/lib.php:410 PluginExportHtml->dump_view_export_data() at /var/www/html/mahara/htdocs/export/html/lib.php:201 PluginExportHtml->export() at /var/www/html/mahara/htdocs/export/download.php:98 To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1624951/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp