[Building Sakai] profile image urls and direct database updates

Steve Swinsburg steve.swinsburg at gmail.com
Mon Nov 5 15:07:29 PST 2012


Hi Ron
Can you send the sakai.properties that you have for profile2 and a sample of the data in the relevant db table, you can replace the URL. Are you using uuids or eids for the value for the user in that table?

When you say old values, do you mean the default image is being shown? 

Also if you go to /direct/profile/userid/image what do you get?

Cheers
Steve

Sent from my iPhone

On 06/11/2012, at 9:13, Ron Peterson <rpeterso at mtholyoke.edu> wrote:

> Yes, those are all set correctly.
> 
> R.
> 
> On Mon, Nov 5, 2012 at 4:49 PM, Adrian Fish <adrian.r.fish at gmail.com> wrote:
>> Hi Ron,
>> 
>> Have you set the appropriate properties in your sakai.properties? There are a few relating to profile images.
>> 
>> 
>> Here's the Confluence page listing the properties:
>> https://confluence.sakaiproject.org/display/PROFILE/Profile2-Settings
>> 
>> The one you may need is:
>> 
>> profile2.picture.type=url
>> 
>> Hope that does the trick.
>> 
>> Cheers,
>> Adrian.
>> 
>> 
>> On 5 November 2012 21:26, Ron Peterson <rpeterso at mtholyoke.edu> wrote:
>>> I'm trying to update people's profile picture URL's (on my test server) by directly setting the value of the 'url_main' column in the profile_images_external_t table.  If I do this, the changes are not reflected in the profile2 tool.  I imagine hibernate or something is caching the data somewhere.  But I don't know who might be caching this, or how.  I've tried shutting down tomcat, updating the database, deleting all .ser files under tomcat, but still the old values appear in the UI.
>>> 
>>> So - how can I bulk push a bunch of URL's to the profile2 tool?  Is it hibernate caching that's biting me?  If so, how can I clear the cache?  If not hibernate, then what?  How do old values keep coming back after I've directly updated the database?
>>> 
>>> R.
>>> 
>>> 
>>> _______________________________________________
>>> 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"
> 
> _______________________________________________
> 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/20121106/3303fb5d/attachment.html 


More information about the sakai-dev mailing list