[Building Sakai] User properties missing

Joshua Swink joshua.swink at gmail.com
Tue Oct 13 12:15:12 PDT 2009


Just wanted to mention that this is a HUGE issue for us... when grades
are submitted, we need to grab a specific ID for each student that
maps them into our Banner database. So when this error happens, an
instructor is trying to submit grades and it fails. This causes a lot
of angst across several departments...

It seems that in a vanilla Sakai installation, user properties are not
used much or at all? So we may be treading in virgin territory by
using them. I noticed that the user directory service does some
internal caching of users, which could be interfering with property
retrieval. Somehow.

Josh

On Mon, Oct 12, 2009 at 6:46 PM, Joshua Swink <joshua.swink at gmail.com> wrote:
> I have some code that's processing users in Sakai, and at one point
> it's looking for some property or another:
>
> user = getUserDirectoryService().getUserByEid(studentEid);
> [...]
> String propVal = user.getProperties().getProperty(propertyName)
>
> The result is null. The problem is that I know this property exists -
> I can look in the database and there it is in SAKAI_USER_PROPERTY. It
> has been there for several weeks, and Sakai has been restarted since
> then. For 99.9% of the students processed this way, all properties are
> found. But there are a few where this property (and some others) are
> missing. They tend to reappear after a while.
>
> Any idea what's causing this? I am using Sakai 2.6.1 with Oracle.
>
> Josh
>


More information about the sakai-dev mailing list