Commit b99d3299 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Klaus Wölfel

Fixup! ERP5Configurator PathConfiguratorItem

parent a70bf773
...@@ -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