[Building Sakai] Tool Development
Steve Swinsburg
steve.swinsburg at gmail.com
Fri Jul 15 04:46:49 PDT 2011
If the user was removed from an external provider, eg LDAP but not removed from the site beforehand, then it will cause this exception. There are a couple of outstanding Jiras for this.
Regards,
Steve
Sent from my iPhone
On 15/07/2011, at 19:40, Matthew Buckett <matthew.buckett at oucs.ox.ac.uk> wrote:
> On Thu, Jul 14, 2011 at 8:14 AM, Nkululeko Phakela
> <nonkululeko.phakela at wits.ac.za> wrote:
>> Hi All,
>>
>> I am new to Sakai. I'm trying to develop a tool which can automatically
>> add students to a course. Now that I have added these students, I would
>> also like to delete them.
>>
>> Some of the students have been deleted and others have not been deleted.
>> I'm saving the data into MySQL. Can someone please let me know which
>> table the data is saved to when using this code:
>
> The membership of the site ends up in:
>
> SAKAI_REALM
> SAKAI_REALM_RL_GR
> SAKAI_REALM_RL_FN
>
>>
>> // add member
>> site.addMember(studentNumber, "Student", true, false);
>>
>> //save site
>> siteService.save(site);
>>
>> The students that have not been deleted throw this exception:
>>
>> org.sakaiproject.user.api.UserNotDefinedException id=xxxxxx
>
> I don't follow why a user who hadn't been deleted should through an
> exception, so you mean they haven't been deleted from the site
> membership?
>
> --
> Matthew Buckett
> VLE Developer, LTG, Oxford University Computing Services
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
More information about the sakai-dev
mailing list