mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #18959
[Bug 1310761] Re: public group and allow submissions problem
** Changed in: mahara/1.9
Status: Fix Committed => Fix Released
--
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/1310761
Title:
public group and allow submissions problem
Status in Mahara ePortfolio:
Fix Committed
Status in Mahara 1.7 series:
Fix Committed
Status in Mahara 1.8 series:
Fix Released
Status in Mahara 1.9 series:
Fix Released
Bug description:
When making public a group that has Allow submissions also ticked we
get this error:
[WAR] b7 (lib/user.php:1678) profile_url called with no user id
Call stack (most recent first):
profile_url(object(stdClass), false) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/view.php:4602
View->get_url(false) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/view.php:4272
View::get_extra_view_info(array(size 1), false, false) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/view.php:4863
View::get_views_and_collections(0) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/group.php:1272
group_view_submission_form("1") at /home/robertl/htdocs/mahara-testing/mahara/htdocs/blocktype/groupviews/lib.php:162
PluginBlocktypeGroupViews::get_data("1") at /home/robertl/htdocs/mahara-testing/mahara/htdocs/blocktype/groupviews/lib.php:56
PluginBlocktypeGroupViews::render_instance(object(BlockInstance)) at Unknown:0
The problem stems from an anonymous user viewing the public group
being assigned the same id, which is zero, as the structural dummy
user. That dummy user has a default 'profile' page and this is causing
the problems.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1310761/+subscriptions
References