[Zope] Upgraded to 2.5.1/2.1.3, now I don't get a
'session_data' in 'temp_folder' on startup..
Stefan H. Holek
stefan@epy.co.at
Wed, 03 Jul 2002 12:34:24 +0200
Just a guess, but could it be that you have something called 'session_data'
where it can be (accidently) acquired? Say, a property of the root folder
or something.
Try the test like so:
tf = app.temp_folder.aq_base
if hasattr(tf, 'session_data'):
LOG('Session', INFO, 'session data exists')
and see whether it makes a difference.
BTW: Which version of Zope did you upgrade from? Do you maybe still have
the CST product installed?
HTH,
Stefan
--On Dienstag, 02. Juli 2002 23:03 +0100 Tony McDonald
<tony.mcdonald@ncl.ac.uk> wrote:
> ...
>
> # Ensure that there is a transient container in the temp folder
> tf = app.temp_folder
> LOG('Session', INFO, 'after temp folder')
> if hasattr(tf, 'session_data'):
> LOG('Session', INFO, 'session data exists')
> if not hasattr(tf, 'session_data'):
> LOG('Session', INFO, 'no session data')
>
> And this is what's in the Zope.log
>
> 2002-07-02T21:53:19 INFO(0) Session b4 temp folder
> ------
> 2002-07-02T21:53:20 INFO(0) ZODB Opening database for mounting:
> '10517752_1014201531.425206'
> ------
> 2002-07-02T21:53:20 INFO(0) ZODB Mounted database
> '10517752_1014201531.425206' at /temp_folder
> ------
> 2002-07-02T21:53:20 INFO(0) Session after temp folder
> ------
> 2002-07-02T21:53:21 INFO(0) Session session data exists
>
--
BLOWFISH, n. - Preference for beef.