[ckan-changes] [ckan/ckan] f2e44b: Fix broken boolean validator

GitHub noreply at github.com
Tue Jun 16 10:17:50 UTC 2015

  Branch: refs/heads/release-v2.0.7
  Home:   https://github.com/ckan/ckan
  Commit: f2e44b5cbe5d520f82ccd28674830f68e3bc3593
  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

More information about the ckan-changes mailing list