[ckan-changes] [ckan/ckan] e82cc8: Fix broken boolean validator
GitHub
noreply at github.com
Tue Jun 16 10:14:22 UTC 2015
Branch: refs/heads/release-v2.3.1
Home: https://github.com/ckan/ckan
Commit: e82cc87b2ee7e2925fea2cea78672e162512dc65
https://github.com/ckan/ckan/commit/e82cc87b2ee7e2925fea2cea78672e162512dc65
Author: Denis Zgonjanin <deniszgonjanin at gmail.com>
Date: 2015-06-16 (Tue, 16 Jun 2015)
Changed paths:
M ckan/logic/validators.py
Log Message:
-----------
Fix broken boolean validator
The boolean validator treats missing values as True. They should be treated as False, both semantically and because unchecked HTML checkboxes in forms transmit empty values on form submits
Commit: f0fcd0bc7e49d02464e6b420cf1b9c78bd20b814
https://github.com/ckan/ckan/commit/f0fcd0bc7e49d02464e6b420cf1b9c78bd20b814
Author: Denis Zgonjanin <deniszgonjanin at gmail.com>
Date: 2015-06-16 (Tue, 16 Jun 2015)
Changed paths:
M ckan/logic/validators.py
Log Message:
-----------
docstring for boolean validator
Commit: 508802f5923670466a429157ff6f97c53d469f35
https://github.com/ckan/ckan/commit/508802f5923670466a429157ff6f97c53d469f35
Author: Denis Zgonjanin <deniszgonjanin at gmail.com>
Date: 2015-06-16 (Tue, 16 Jun 2015)
Changed paths:
M ckan/logic/validators.py
M ckan/new_tests/logic/test_validators.py
Log Message:
-----------
boolean validator tests
Conflicts:
ckan/tests/logic/test_validators.py
Compare: https://github.com/ckan/ckan/compare/d7e4f69d35af...508802f59236
More information about the ckan-changes
mailing list