[Building Sakai] Updating SQL database directly

Nguni Phakela nguni52 at gmail.com
Sat Feb 2 10:17:30 PST 2013


Hi Earle,

I did that and restarted sakai, and still the eid is not updating. Any
other suggestions? I would appreciate the help because now I'm at a loss
with what's wrong, since all the other fields update the database.

Kind Regards
Nguni


On Fri, Feb 1, 2013 at 5:49 PM, Earle Nietzel <earle.nietzel at gmail.com>wrote:

> Nguni,
>
> Set it to "true" like so:
>
> separateIdEid at org.sakaiproject.user.api.UserDirectoryService=true
>
> Earle
>
>
> On Fri, Feb 1, 2013 at 2:21 AM, Nguni Phakela <nguni52 at gmail.com> wrote:
>
>> Hi John,
>>
>> In my config file, I don't have that.
>>
>> What should I set it to so that I can be able to update the EID? It is a
>> different value from ID.
>>
>> Cheers,
>> Nguni
>>
>>
>> On Fri, Feb 1, 2013 at 6:41 AM, John Bush <john.bush at rsmart.com> wrote:
>>
>>> check your config for this:
>>>
>>> separateIdEid at org.sakaiproject.user.api.UserDirectoryService
>>>
>>> This controls whether or not to use a separate value for a user's ID
>>> and EID.
>>>
>>>
>>> On Thu, Jan 31, 2013 at 1:40 AM, Nguni Phakela <nguni52 at gmail.com>
>>> wrote:
>>> > Hi Mark,
>>> >
>>> > Using your advice I was able to make updates to all the other fields
>>> except
>>> > the EID didn't update.
>>> > Would you have any idea why this is the case?
>>> >                 securityService.pushAdvisor(secAdvice);
>>> >                 userEdit = userDirectoryService.editUser(userId);
>>> >                 userEdit.setEid(eid);
>>> >                 userEdit.setFirstName(student.getGivenname());
>>> >                 userEdit.setLastName(student.getSurname());
>>> >                 userEdit.setEmail(student.getEmail());
>>> >                 userDirectoryService.commitEdit(userEdit);
>>> >
>>> > Cheers,
>>> > Nguni
>>> >
>>> > _______________________________________________
>>> > 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"
>>>
>>>
>>>
>>> --
>>> John Bush
>>> 602-490-0470
>>>
>>
>>
>>
>> --
>> Nguni Phakela
>>
>> _______________________________________________
>> 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"
>>
>
>


-- 
Nguni Phakela
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130202/448c7635/attachment.html 


More information about the sakai-dev mailing list