Fixed PATCHing comments

This commit is contained in:
2018-03-27 17:42:29 +02:00
parent 540dd28861
commit f22dc4d92a
2 changed files with 6 additions and 3 deletions

View File

@@ -105,6 +105,9 @@ class ValidateCustomFields(Validator):
val = v.validate(value)
if val:
# This ensures the modifications made by v's coercion rules are
# visible to this validator's output.
self.current[field] = v.current
return True
log.warning('Error validating properties for node %s: %s', self.document, v.errors)