Commit 10a4e0ee authored by Łukasz Nowak's avatar Łukasz Nowak

Setup to new value.

parent 14c8b879
...@@ -143,6 +143,6 @@ class PropertyTypeValidity(Constraint): ...@@ -143,6 +143,6 @@ class PropertyTypeValidity(Constraint):
error_list.append(self._generateError(obj, error_list.append(self._generateError(obj,
self._getMessage('message_value_modified'), dict( self._getMessage('message_value_modified'), dict(
key=property_id, old=oldvalue, new=value))) key=property_id, old=oldvalue, new=value)))
obj.setProperty(property_id, oldvalue) obj.setProperty(property_id, value)
return error_list return error_list
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