Commit 6140154a authored by Jim Fulton's avatar Jim Fulton

Added logic to copy manage_options from base class so we don't

accidentally modify base class through sub-class.
parent 603b7745
......@@ -268,6 +268,13 @@ class ZClass(OFS.SimpleItem.SimpleItem):
PersistentClassDict(title or id))
c.__ac_permissions__=()
options=[]
for option in c.manage_options:
copy={}
copy.update(option)
options.append(copy)
c.manage_options=tuple(options)
# Create the class(/instance) prop sheet *class*
isheets_class=type(PersistentClass)(
id+'_PropertySheetsClass',
......
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