Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
yams
Commits
fa155d7e58bd
Commit
d4f4e8b0
authored
Sep 20, 2006
by
"Sylvain ext:(%22)
Browse files
fix a major bug in entity validation
parent
57b9f5dfa491
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
fa155d7e
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
...
...
schema.py
View file @
fa155d7e
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment