Public bug reported:
When the following is set up:
1. Database with 1 group plan and 3 tasks: 1 without task page and assignment
portfolio, 1 with task page, 1 with assignment portfolio.
2. Select all three by regular non-editing group member.
3. Turn off all three again. The first one that doesn't have portfolio produces
"Not supported portfolio type" error (below).
[WAR] 79 (artefact/plans/tools/PlansTools.php:852) get_class() expects
parameter 1 to be object, null given
Call stack (most recent first):
log_message("get_class() expects parameter 1 to be object, null...", 8,
true, true, "/home/kristina/code/mahara/htdocs/artefact/plans/t...", 852) at
/home/kristina/code/mahara/htdocs/lib/errors.php:521
error(2, "get_class() expects parameter 1 to be object, null...",
"/home/kristina/code/mahara/htdocs/artefact/plans/t...", 852, array(size 1)) at
Unknown:0
get_class(null) at
/home/kristina/code/mahara/htdocs/artefact/plans/tools/PlansTools.php:852
artefact\plans\tools\PlansTools::createOutcomeUrlForPortfolioElement(null)
at
/home/kristina/code/mahara/htdocs/artefact/plans/groupplans/toggle_grouptask.json.php:60
** Affects: mahara
Importance: High
Status: In Progress
** Changed in: mahara
Status: New => In Progress
** Changed in: mahara
Importance: Undecided => High
** Changed in: mahara
Milestone: None => 19.10.0
--
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/1850712
Title:
Group plans tasks without portfolio assignment cause error when
turning off for member
Status in Mahara:
In Progress
Bug description:
When the following is set up:
1. Database with 1 group plan and 3 tasks: 1 without task page and assignment
portfolio, 1 with task page, 1 with assignment portfolio.
2. Select all three by regular non-editing group member.
3. Turn off all three again. The first one that doesn't have portfolio
produces "Not supported portfolio type" error (below).
[WAR] 79 (artefact/plans/tools/PlansTools.php:852) get_class() expects
parameter 1 to be object, null given
Call stack (most recent first):
log_message("get_class() expects parameter 1 to be object, null...", 8,
true, true, "/home/kristina/code/mahara/htdocs/artefact/plans/t...", 852) at
/home/kristina/code/mahara/htdocs/lib/errors.php:521
error(2, "get_class() expects parameter 1 to be object, null...",
"/home/kristina/code/mahara/htdocs/artefact/plans/t...", 852, array(size 1)) at
Unknown:0
get_class(null) at
/home/kristina/code/mahara/htdocs/artefact/plans/tools/PlansTools.php:852
artefact\plans\tools\PlansTools::createOutcomeUrlForPortfolioElement(null) at
/home/kristina/code/mahara/htdocs/artefact/plans/groupplans/toggle_grouptask.json.php:60
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1850712/+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