[ckan-changes] [ckan/ckan] 7b0121: [#1474] fix resource schema in package show to ret...

GitHub noreply at github.com
Thu Jan 30 11:02:09 UTC 2014


  Branch: refs/heads/1474-fix-resource-schema
  Home:   https://github.com/ckan/ckan
  Commit: 7b01219d349a8f6c6a2ae3a863bfcdef8ead26b7
      https://github.com/ckan/ckan/commit/7b01219d349a8f6c6a2ae3a863bfcdef8ead26b7
  Author: joetsoi <joe.yeung.tsoi at gmail.com>
  Date:   2014-01-30 (Thu, 30 Jan 2014)

  Changed paths:
    M ckan/lib/navl/validators.py
    M ckan/logic/schema.py

  Log Message:
  -----------
  [#1474] fix resource schema in package show to return None as default

Without a default these values, if not provided can return Missing,
which is not jsonable and causes the package/related/api controllers to
404 when they try to dump the json.




More information about the ckan-changes mailing list