Commit e259e08d authored by Evan Simpson's avatar Evan Simpson

Merge bugfix from 1_4 branch.

parent 079ceaec
......@@ -9,3 +9,9 @@ Page Template changes
Bugs Fixed
- 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.
......@@ -87,7 +87,7 @@
Zope object encapsulating a Page Template.
"""
__version__='$Revision: 1.17 $'[11:-2]
__version__='$Revision: 1.18 $'[11:-2]
import os, AccessControl, Acquisition, sys
from Globals import DTMLFile, MessageDialog, package_home
......@@ -375,6 +375,7 @@ def initialize(context):
ZopePageTemplate.manage = _editForm
ZopePageTemplate.manage_main = _editForm
ZopePageTemplate.pt_editForm = _editForm
_editForm._owner = None
context.registerClass(
ZopePageTemplate,
permission='Add Page Templates',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment