[ZPT] CVS: Products/PageTemplates - CHANGES.txt:1.17.2.2 ZopePageTemplate.py:1.16.2.2
Evan Simpson
evan@zope.com
Wed, 3 Oct 2001 16:46:58 -0400
Update of /cvs-repository/Products/PageTemplates
In directory cvs.zope.org:/tmp/cvs-serv6676
Modified Files:
Tag: zpt-1_4_0
CHANGES.txt ZopePageTemplate.py
Log Message:
Fix obscure bug that broke editing form.
=== Products/PageTemplates/CHANGES.txt 1.17.2.1 => 1.17.2.2 ===
- Tracebacks were often truncated.
+
+ - __bobo_traverse__ objects, such as the root, triggered
+ security incorrectly when traversed.
+
+ - If a PageTemplate was owned by a missing user, or one with
+ insufficient permissions, the editing form broke.
=== Products/PageTemplates/ZopePageTemplate.py 1.16.2.1 => 1.16.2.2 ===
ZopePageTemplate.manage_main = _editForm
ZopePageTemplate.pt_editForm = _editForm
+ _editForm._owner = None
context.registerClass(
ZopePageTemplate,
permission='Add Page Templates',