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

fixup! ValueConfiguratorItem

parent a07a0ce6
......@@ -71,7 +71,7 @@ class ValueConfiguratorItem(ConfiguratorItemMixin, XMLObject):
if relative_path is not None and document is not None:
document = document.unrestrictedTraverse(relative_path, None)
if document is not None:
for property_id, value in property_value_dict:
for property_id, value in property_value_dict.items():
if document.getProperty(property_id) != value:
error_list.append(self._createConstraintMessage(
'%s: property "%s" should be changed to value "%s"' %(
......
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