Commit 028d8f2e authored by Jim Fulton's avatar Jim Fulton

The fix for a problem with managing the "manage_options" meta-data broke

ZClasses that don't carry along the standard Zope bases classes.
This made it impossiblt to use ZClasses as SQL brains.
parent 2e47d098
......@@ -272,6 +272,8 @@ class ZClass(OFS.SimpleItem.SimpleItem):
PersistentClassDict(title or id))
c.__ac_permissions__=()
# Copy manage options
if zope_object:
options=[]
for option in c.manage_options:
copy={}
......
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