[ckan-changes] [ckan/ckan] bcc470: [#2661] Add revision if owner-org updated.

GitHub noreply at github.com
Fri Jun 24 13:11:51 UTC 2016


  Branch: refs/heads/2661-owner-org-update
  Home:   https://github.com/ckan/ckan
  Commit: bcc47010f0ba4d4a2718ffb3ad510701fc70a060
      https://github.com/ckan/ckan/commit/bcc47010f0ba4d4a2718ffb3ad510701fc70a060
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-24 (Fri, 24 Jun 2016)

  Changed paths:
    M ckan/logic/action/update.py
    M ckan/tests/logic/action/test_update.py

  Log Message:
  -----------
  [#2661] Add revision if owner-org updated.

package_owner_org_update is called during a package_update to handle
updating the owner organization. A package revision is created during
this by package_update. If package_owner_org_update is called in
isolation, no revision is created and an error occurs in vdm. This
commit ensures a revision is created when package_owner_org_update is
called outside of a package_update.




More information about the ckan-changes mailing list