[Zope-Checkins] CVS: Zope/lib/python/Products/Sessions/dtml - addDataManager.dtml:1.5.18.1
Chris McDonough
chrism@zope.com
Thu, 28 Mar 2002 20:26:52 -0500
Update of /cvs-repository/Zope/lib/python/Products/Sessions/dtml
In directory cvs.zope.org:/tmp/cvs-serv18369/dtml
Modified Files:
Tag: Zope-2_5-branch
addDataManager.dtml
Log Message:
The SessionDataManagerTraverser code was storing a reference to the
session data manager, wrapped in a strange acquisition context. This could
cause erratic problems when users attempted to acquire methods from the session
data manager wrapping a transient object when the transient object was obtained
via REQUEST.SESSION.
Instead of storing a reference to the session data manager, we now
just store a reference to its name and look it up via getattr, which
wraps it in a good acquisition context and prevents the erratic
errors.
Thanks to Andrew for pointing this out.
Also changed the add form to replace some sample text.
=== Zope/lib/python/Products/Sessions/dtml/addDataManager.dtml 1.5 => 1.5.18.1 ===
Transient Object Container Path
</div>
- <div class="form-help">e.g. '/temp_folder/transient_container'.</div>
+ <div class="form-help">e.g. '/temp_folder/session_data'.</div>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="path" SIZE="60" value="">