** Also affects: mahara/1.9
Importance: Undecided
Status: New
** Changed in: mahara/1.9
Status: New => Fix Committed
** Changed in: mahara/1.9
Importance: Undecided => High
** Changed in: mahara/1.9
Assignee: (unassigned) => Robert Lyon (robertl-9)
** Changed in: mahara/1.9
Milestone: None => 1.9.1
--
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.8 series:
New
Status in Mahara 1.9 series:
Fix Committed
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
_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help : https://help.launchpad.net/ListHelp