Commit cbbcb1ba authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Jérome Perrin

Fixup! ERP5Configurator PathConfiguratorItem

parent 531d9a56
...@@ -72,8 +72,8 @@ class PathConfiguratorItem(ConfiguratorItemMixin, XMLObject): ...@@ -72,8 +72,8 @@ class PathConfiguratorItem(ConfiguratorItemMixin, XMLObject):
"%s %s should be created" %(portal_type, document_id))) "%s %s should be created" %(portal_type, document_id)))
if fixit: if fixit:
document_init_dict = { 'portal_type' : portal_type, document_init_dict = { 'portal_type' : portal_type,
'document_id': document_id } 'id': document_id }
if title in document_dict: if 'title' in document_dict:
document_init_dict['title'] = document_dict.pop('title') document_init_dict['title'] = document_dict.pop('title')
document = container.newContent(**document_init_dict) document = container.newContent(**document_init_dict)
document.edit(**document_dict) document.edit(**document_dict)
......
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