Setting up group when user is in 2 institutions and not site admin brings error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
18.04 |
Fix Released
|
High
|
Robert Lyon | ||
18.10 |
Fix Released
|
High
|
Robert Lyon |
Bug Description
master (18.04RC1)
When user is in two institutions but not the site admin, the following error message is displayed when she wants to set up a group:
[WAR] 3e (lib/pieforms/
Call stack (most recent first):
log_
error(integer, string(size 38), string(size 58), integer, array(size 2)) at Unknown:0
trigger_
Pieform:
pieform_
Pieform-
Pieform-
Pieform:
pieform(
There is no error message when the user is in only one institution.
To replicate:
1. Make a user a member in 2 or more institutions.
2. Go to Main menu -> Groups -> My groups.
3. Click the "Create group" button.
Expected result: No error message.
Actual result: Above error message is displayed.
description: | updated |
Patch for "master" branch: https:/ /reviews. mahara. org/8658