Commit c6a0c8b9 authored by Aurel's avatar Aurel

don't try to import or export dependency property as it is not yet implemented


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4372 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bf618342
...@@ -2540,7 +2540,7 @@ Business Template is a set of definitions, such as skins, portal types and categ ...@@ -2540,7 +2540,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
for prop in self.propertyMap(): for prop in self.propertyMap():
type = prop['type'] type = prop['type']
id = prop['id'] id = prop['id']
if id in ('uid', 'rid', 'sid', 'id_group', 'last_id'): if id in ('uid', 'rid', 'sid', 'id_group', 'last_id', 'dependency_list'):
continue continue
value = self.getProperty(id) value = self.getProperty(id)
if type == 'text' or type == 'string' or type == 'int': if type == 'text' or type == 'string' or type == 'int':
......
...@@ -200,7 +200,7 @@ class TemplateTool (BaseTool): ...@@ -200,7 +200,7 @@ class TemplateTool (BaseTool):
for prop in bt.propertyMap(): for prop in bt.propertyMap():
type = prop['type'] type = prop['type']
pid = prop['id'] pid = prop['id']
if pid in ('uid', 'id', 'rid', 'sid', 'id_group', 'last_id'): if pid in ('uid', 'id', 'rid', 'sid', 'id_group', 'last_id', 'dependecy_list'):
continue continue
prop_path = os.path.join(tar.members[0].name, 'bt', pid) prop_path = os.path.join(tar.members[0].name, 'bt', pid)
info = tar.getmember(prop_path) info = tar.getmember(prop_path)
...@@ -245,7 +245,7 @@ class TemplateTool (BaseTool): ...@@ -245,7 +245,7 @@ class TemplateTool (BaseTool):
for prop in bt.propertyMap(): for prop in bt.propertyMap():
type = prop['type'] type = prop['type']
pid = prop['id'] pid = prop['id']
if pid in ('uid', 'id', 'rid', 'sid', 'id_group', 'last_id'): if pid in ('uid', 'id', 'rid', 'sid', 'id_group', 'last_id', 'dependency_list'):
continue continue
prop_path = os.path.join(bt_path, pid) prop_path = os.path.join(bt_path, pid)
value = open(prop_path, 'r').read() value = open(prop_path, 'r').read()
......
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