[ckan-changes] commit/ckan: kindly: fix for name change

Bitbucket commits-noreply at bitbucket.org
Wed Jun 29 10:15:02 UTC 2011


1 new changeset in ckan:

http://bitbucket.org/okfn/ckan/changeset/0f975a13c979/
changeset:   0f975a13c979
branch:      feature-1141-moderated-edits-ajax
user:        kindly
date:        2011-06-29 12:14:32
summary:     fix for name change
affected #:  1 file (27 bytes)

--- a/ckan/logic/action/update.py	Wed Jun 29 11:22:37 2011 +0200
+++ b/ckan/logic/action/update.py	Wed Jun 29 11:14:32 2011 +0100
@@ -154,6 +154,7 @@
 
     if pkg is None:
         raise NotFound(_('Package was not found.'))
+    context["id"] = pkg.id
 
     check_access(pkg, model.Action.EDIT, context)

Repository URL: https://bitbucket.org/okfn/ckan/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list