[Building Sakai] org.sakaiproject.user.api.UserLockedException

Steve Swinsburg steve.swinsburg at gmail.com
Fri Jul 30 17:12:53 PDT 2010


Hi Jeremy,

I suspect there is an issue with locks not being released when an exception is thrown, and I've filed this as http://jira.sakaiproject.org/browse/SAK-18876. I've also contacted you off list to get the perl scripts you are using so I can take a closer look.

cheers,
Steve



On 31/07/2010, at 3:02 AM, Kusnetz, Jeremy wrote:

> I am using the SakaiScript webservice to create and modify users.
>  
> I’m using the addNewUser service to create a new user, and the changeUserInfo service to modify user data.  When I call the changeUserInfo service the result comes back as “org.sakaiproject.user.api.UserLockedException”
>  
> I’m doing this in perl, here is  a bit of a code snippet I’m using:
>  
>                         my @params = (
>                                 SOAP::Data->type('string')->name('sessionid')->value($sessionid),
>                                 SOAP::Data->type('string')->name('eid')->value($eid),
>                                 SOAP::Data->type('string')->name('firstname')->value($firstname),
>                                 SOAP::Data->type('string')->name('lastname')->value($lastname),
>                                 SOAP::Data->type('string')->name('email')->value($email),
>                                 SOAP::Data->type('string')->name('type')->value($type),
>                                 SOAP::Data->type('string')->name('password')->value($password)
>                         );
>                         $soap->autotype(0);
>                         my $result = $soap->changeUserInfo(@params);
>  
> Jeremy Kusnetz | Sr. Systems Engineer
>  
> American Public University System 
> American Military University  |  American Public University
> 661 S George Street, Charles Town, WV 25414 
> T 304-885-5333 | M 703-967-5212 |  jkusnetz at apus.edu | www.apus.edu
>  
> _______________________________________________
> 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"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100731/baa5b37f/attachment.html 


More information about the sakai-dev mailing list