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

GitHub noreply at github.com
Tue Jun 16 10:18:06 UTC 2015


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