Commit b5371d86 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Xiaowu Zhang

fixup! PathConfiguratorItem

parent 038cfd09
...@@ -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