[ckan-changes] [ckan/ckan] 71a552: Fix broken boolean validator

GitHub noreply at github.com
Tue Jun 9 15:44:56 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 71a5524392013ea3836d455af8a8e26672e44e30
      https://github.com/ckan/ckan/commit/71a5524392013ea3836d455af8a8e26672e44e30
  Author: Denis Zgonjanin <deniszgonjanin at gmail.com>
  Date:   2015-05-21 (Thu, 21 May 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: 6735af05884614ddab64372eee0e57613034dd2c
      https://github.com/ckan/ckan/commit/6735af05884614ddab64372eee0e57613034dd2c
  Author: Denis Zgonjanin <deniszgonjanin at gmail.com>
  Date:   2015-06-01 (Mon, 01 Jun 2015)

  Changed paths:
    M ckan/logic/validators.py

  Log Message:
  -----------
  docstring for boolean validator


  Commit: 24f69559f9e403c8eb07744cb9f0be420a714389
      https://github.com/ckan/ckan/commit/24f69559f9e403c8eb07744cb9f0be420a714389
  Author: Denis Zgonjanin <deniszgonjanin at gmail.com>
  Date:   2015-06-01 (Mon, 01 Jun 2015)

  Changed paths:
    M ckan/logic/validators.py
    M ckan/tests/logic/test_validators.py

  Log Message:
  -----------
  boolean validator tests


  Commit: 6a40db5d6d4fc943d116476d2a6489d253ef1c83
      https://github.com/ckan/ckan/commit/6a40db5d6d4fc943d116476d2a6489d253ef1c83
  Author: Denis Zgonjanin <deniszgonjanin at gmail.com>
  Date:   2015-06-09 (Tue, 09 Jun 2015)

  Changed paths:
    M ckan/tests/logic/test_validators.py

  Log Message:
  -----------
  pep8 fix for boolean validator test


  Commit: bb9bc1142244fe1ff31ec6332362ea166c177207
      https://github.com/ckan/ckan/commit/bb9bc1142244fe1ff31ec6332362ea166c177207
  Author: Ian Ward <ian at excess.org>
  Date:   2015-06-09 (Tue, 09 Jun 2015)

  Changed paths:
    M ckan/logic/validators.py
    M ckan/tests/logic/test_validators.py

  Log Message:
  -----------
  Merge pull request #2443 from deniszgonjanin/broken_boolean_validator

Fix broken boolean validator


Compare: https://github.com/ckan/ckan/compare/c13528dcf674...bb9bc1142244


More information about the ckan-changes mailing list