Commit d4f4e8b0 authored by "Sylvain ext:(%22)'s avatar "Sylvain ext:(%22)
Browse files

fix a major bug in entity validation

parent 57b9f5dfa491
ChangeLog for yams
------------------
--
* fix a major bug in entity validation
* refactor RelationFileReader to ease customization
2006-09-11 -- 0.6.1
* consider meta when a relation type is implicitly created
......
......@@ -370,7 +370,7 @@ class EntitySchema(ERSchema):
continue
# skip other constraint if value is None and None is allowed
if value is None and not required:
break
continue
if not aschema.check_value(value):
errors[rtype] = 'incorrect value %r for type %s' % (value,
aschema.type)
......
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