[ckan-changes] [okfn/ckan] ecfacb: [#406] Don't strip id's from extras in validate()

GitHub noreply at github.com
Fri Feb 15 15:32:32 UTC 2013

  Branch: refs/heads/idatasetform-fixes
  Home:   https://github.com/okfn/ckan
  Commit: ecfacbbc41d85bc4a83bd3ac008f185ec31b9185
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-02-15 (Fri, 15 Feb 2013)

  Changed paths:
    M ckan/logic/schema.py

  Log Message:
  [#406] Don't strip id's from extras in validate()

db_to_form_package_schema() (which is only used if an IDatasetForm
plugin is active) was stripping the "id" keys from package extras, which
then causes some tests to fail. Not sure if just the tests were
crashing, or if some ckan pages were also crashing. Anyway, this commit
means they don't get stripped anymore.

Fixes #406

More information about the ckan-changes mailing list