After discussing this with hugh, I've concluded that this is behaving as per what is desccribed in the manual:
http://manual.mahara.org/en/1.6/site_admin/groups.html#update-group- members-by-csv "If you manually added users to a group whose members you want to update via CSV file, these users will be removed from that group when you update the group membership and do not have them listed in the CSV file. Thus, be careful once you have added users manually." So what's happening with the example provided is that because the original admin hasn't been listed in the csv, it's being removed, and hence the group would otherwise have no admin and this would make it broken, so it doesn't let it happen. ** Changed in: mahara Status: Triaged => Invalid ** Changed in: mahara Milestone: 1.6.0 => None -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/1055865 Title: Can't add new group members via a CSV file Status in Mahara ePortfolio: Invalid Bug description: Version: master Platform: all Browser: all Assumptions - user 'u01' is an admin of institution 'S' - user 'u02' is a member of institution 'S' - user 'u01' created group 'A' - group 'A' was created by a csv, otherwise bug #826649 happens - A CSV file called gm.csv with the content: shortname,username,role "A","u02","member" Actions - user 'u01' tried to update group members of group 'A' using the CSV file gm.csv. Results - Error message: 'Error on line 2 of your file: The group shortname "A" did not have any users with the "admin" role specified.' To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1055865/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp