[ckan-changes] [okfn/ckan] 2d6489: [#407] db_to_form_package_schema don't strip keys

GitHub noreply at github.com
Mon Feb 18 15:01:39 UTC 2013


  Branch: refs/heads/idatasetform-fixes
  Home:   https://github.com/okfn/ckan
  Commit: 2d6489060e51d7ccac3d1e7c55cb040c90502340
      https://github.com/okfn/ckan/commit/2d6489060e51d7ccac3d1e7c55cb040c90502340
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-02-18 (Mon, 18 Feb 2013)

  Changed paths:
    M ckan/logic/schema.py

  Log Message:
  -----------
  [#407] db_to_form_package_schema don't strip keys

Add empty lists to db_to_form_package_schema() for several keys that
normally appear in dicts from package_show, but that were being stripped
from thos dicts when db_to_form_package_schema() was used (i.e. when an
IDatasetForm plugin was active). Fixes #407.





More information about the ckan-changes mailing list