Reviewed: https://reviews.mahara.org/10501 Committed: https://git.mahara.org/mahara/mahara/commit/b2a216f260468bf9c55778eb4943633f98c7daa2 Submitter: Robert Lyon ([email protected]) Branch: master
commit b2a216f260468bf9c55778eb4943633f98c7daa2 Author: Robert Lyon <[email protected]> Date: Wed Oct 30 08:28:01 2019 +1300 Bug 1850559: Error deleting plan with task Error message when I wanted to delete a group plan that had 1 task [WAR] 98 (artefact/plans/tools/PlansTools.php:691) Trying to get property 'plugin' of non-object behatnotneeded Change-Id: I18b573762466bb7e7dd0dcf1e99f11a910acdacd Signed-off-by: Robert Lyon <[email protected]> -- 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/1850559 Title: Problem with deleting a plan task Status in Mahara: Fix Committed Status in Mahara 19.10 series: Fix Committed Status in Mahara 20.04 series: Fix Committed Bug description: Error message when I wanted to delete a group plan that had 1 task [WAR] 98 (artefact/plans/tools/PlansTools.php:691) Trying to get property 'plugin' of non-object Call stack (most recent first): log_message("Trying to get property 'plugin' of non-object", 8, true, true, "/home/kristina/code/1910stable/htdocs/artefact/pla...", 691) at /home/kristina/code/1910stable/htdocs/lib/errors.php:521 error(8, "Trying to get property 'plugin' of non-object", "/home/kristina/code/1910stable/htdocs/artefact/pla...", 691, array(size 8)) at /home/kristina/code/1910stable/htdocs/artefact/plans/tools/PlansTools.php:691 artefact\plans\tools\PlansTools::deleteViewAndAssignedArtefacts(object(View)) at /home/kristina/code/1910stable/htdocs/artefact/plans/lib.php:1009 ArtefactTypeTask->delete() at /home/kristina/code/1910stable/htdocs/artefact/lib.php:722 ArtefactType->delete() at /home/kristina/code/1910stable/htdocs/artefact/plans/lib.php:319 ArtefactTypePlan->delete() at /home/kristina/code/1910stable/htdocs/artefact/plans/plan/delete.php:94 deleteplanform_submit(object(Pieform), array(size 2)) at /home/kristina/code/1910stable/htdocs/lib/pieforms/pieform.php:546 Pieform->__construct(array(size 6)) at /home/kristina/code/1910stable/htdocs/lib/pieforms/pieform.php:168 Pieform::process(array(size 6)) at /home/kristina/code/1910stable/htdocs/lib/mahara.php:5432 pieform(array(size 6)) at /home/kristina/code/1910stable/htdocs/artefact/plans/plan/delete.php:80 [WAR] 98 (artefact/plans/tools/PlansTools.php:692) Trying to get property 'artefacttype' of non-object Call stack (most recent first): log_message("Trying to get property 'artefacttype' of non-objec...", 8, true, true, "/home/kristina/code/1910stable/htdocs/artefact/pla...", 692) at /home/kristina/code/1910stable/htdocs/lib/errors.php:521 error(8, "Trying to get property 'artefacttype' of non-objec...", "/home/kristina/code/1910stable/htdocs/artefact/pla...", 692, array(size 8)) at /home/kristina/code/1910stable/htdocs/artefact/plans/tools/PlansTools.php:692 artefact\plans\tools\PlansTools::deleteViewAndAssignedArtefacts(object(View)) at /home/kristina/code/1910stable/htdocs/artefact/plans/lib.php:1009 ArtefactTypeTask->delete() at /home/kristina/code/1910stable/htdocs/artefact/lib.php:722 ArtefactType->delete() at /home/kristina/code/1910stable/htdocs/artefact/plans/lib.php:319 ArtefactTypePlan->delete() at /home/kristina/code/1910stable/htdocs/artefact/plans/plan/delete.php:94 deleteplanform_submit(object(Pieform), array(size 2)) at /home/kristina/code/1910stable/htdocs/lib/pieforms/pieform.php:546 Pieform->__construct(array(size 6)) at /home/kristina/code/1910stable/htdocs/lib/pieforms/pieform.php:168 Pieform::process(array(size 6)) at /home/kristina/code/1910stable/htdocs/lib/mahara.php:5432 pieform(array(size 6)) at /home/kristina/code/1910stable/htdocs/artefact/plans/plan/delete.php:80 [WAR] 98 (lib/errors.php:536) [Error]: Cannot instantiate abstract class ArtefactType Call stack (most recent first): exception(object(Error)) at Unknown:0 To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1850559/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

