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

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

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