portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Kimpton <kimptoc_m...@yahoo.com>
Subject Re: dbpsml v3
Date Thu, 22 Nov 2001 16:38:47 GMT
Hi,

--- Chris Kimpton <kimptoc_mail@yahoo.com> wrote:
> > 
> > ...but when I customise the turbine users page and save it - it
> > seems
> > to work, but if I logout and back in again - the settings have
> been
> > lost - as if its only changing the in-memory version and not
> > committing to the db.  I can't see any exceptions in the log
> file.
> > 
> > 
> 
> Ok - I can see why this is happing  ;-)  The BaseProfile.store()
> method calls saveDocument on PsmlManager.saveDocument - which does
> nothing/is deprecated for the DBPsmlManagerService...  so I think
> it
> should be calling the store(Profile) method, passing itself...
> 
> ...but the profile is still not being saved... it looks like the
> object it is saving has no PSML ID... as the SQL debug refers to a
> select where PSML_ID is null... 
> 

Right - this is due to the Profile object not knowing about psml id's
- so when its converted to a JetspeedUserProfile, for example, there
is nowhere to get one from - I think - I guess a Profile needs to
have an ID...

Over to you DST...

HTH,
Chris

=====
Need somewhere to Live in London? - Then go to http://freeflats.com

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message