[ckan-changes] [ckan/ckan] e9a5e8: [#1251] resource_view_create requires a view_type

GitHub noreply at github.com
Tue Apr 22 22:40:14 UTC 2014


  Branch: refs/heads/1251-resource-view
  Home:   https://github.com/ckan/ckan
  Commit: e9a5e89ed1723c5ac9d9dc2b873510d7c06989b0
      https://github.com/ckan/ckan/commit/e9a5e89ed1723c5ac9d9dc2b873510d7c06989b0
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-04-22 (Tue, 22 Apr 2014)

  Changed paths:
    M ckan/logic/action/create.py
    M ckan/new_tests/logic/action/test_create.py

  Log Message:
  -----------
  [#1251] resource_view_create requires a view_type

If we don't do it, we'll try to get the view_type from the current plugins,
which will fail because there's no view_type called '' (empty string).


  Commit: 44d5ed194c20f2562d2210ba3f13d66e69df86a1
      https://github.com/ckan/ckan/commit/44d5ed194c20f2562d2210ba3f13d66e69df86a1
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-04-22 (Tue, 22 Apr 2014)

  Changed paths:
    M ckan/controllers/package.py
    M ckan/new_tests/factories.py
    M ckan/new_tests/test_factories.py

  Log Message:
  -----------
  [#1251] Remove @deprecated decorator from PackageController.autocomplete()

This makes our tests fail, probably because of a bug in the decorator itself.
I've created an issue at #1662 to try to figure it out.


Compare: https://github.com/ckan/ckan/compare/c2fa1f2c0cba...44d5ed194c20


More information about the ckan-changes mailing list