Commit 8d76f4b5 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Klaus Wölfel

fixup! PathConfiguratorItem

parent 21935285
...@@ -73,8 +73,7 @@ class PathConfiguratorItem(ConfiguratorItemMixin, XMLObject): ...@@ -73,8 +73,7 @@ class PathConfiguratorItem(ConfiguratorItemMixin, XMLObject):
if fixit: if fixit:
document = container.newContent(id=document_id, document = container.newContent(id=document_id,
portal_type=portal_type) portal_type=portal_type)
for property_id, value in document_dict.items(): document.edit(**document_dict)
document.setProperty(property_id, value)
if transition_method is not None: if transition_method is not None:
getattr(document, transition_method) ( getattr(document, transition_method) (
comment=translateString("Transition executed by Configurator")) comment=translateString("Transition executed by Configurator"))
......
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