Commit 3a637807 authored by Julien Muchembled's avatar Julien Muchembled

Do not copy 'isIndexable' property while migrating portal types

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34418 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 03a7e7ca
...@@ -190,7 +190,7 @@ class OldTypesTool(OFSFolder): ...@@ -190,7 +190,7 @@ class OldTypesTool(OFSFolder):
elif k == '_roles': elif k == '_roles':
for role in v: for role in v:
new_type._importRole(role.__getstate__()) new_type._importRole(role.__getstate__())
elif k != 'uid': elif k not in ('uid', 'isIndexable'):
if k == '_property_domain_dict': if k == '_property_domain_dict':
v = dict((k, t.__class__(property_name=t.property_name, v = dict((k, t.__class__(property_name=t.property_name,
domain_name=t.domain_name)) domain_name=t.domain_name))
......
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