public group and allow submissions problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
1.7 |
Fix Released
|
High
|
Robert Lyon | ||
1.8 |
Fix Released
|
High
|
Robert Lyon | ||
1.9 |
Fix Released
|
High
|
Robert Lyon |
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_
View-
View:
View:
group_
PluginBlock
PluginBlock
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.
Changed in mahara: | |
assignee: | nobody → Robert Lyon (robertl-9) |
Changed in mahara: | |
status: | Confirmed → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/3268