Commit 8afdd627 authored by Aurel's avatar Aurel

portal type is DomainGenerator and not Domain


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10882 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9715a9e3
......@@ -105,7 +105,7 @@ class Domain(Predicate, MetaNode, MetaResource):
We need a way to know how deep we are in the domain generation
to prevent infinite recursion XXX not implemented
"""
klass = tmp_domain_generator = self.newContent(portal_type='Domain', temp_object=1)
klass = tmp_domain_generator = self.newContent(portal_type='DomainGenerator', temp_object=1)
script = self.getDomainGeneratorMethodId('')
return tmp_domain_generator.getDomainGeneratorList(depth=depth, klass=klass, script=script, parent=self)
......
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