[ckan-changes] commit/ckan: kindly: [migration] bug 1205 migration failed for cz instance

Bitbucket commits-noreply at bitbucket.org
Mon Jul 4 08:27:11 UTC 2011


1 new changeset in ckan:

http://bitbucket.org/okfn/ckan/changeset/5e2070688e54/
changeset:   5e2070688e54
user:        kindly
date:        2011-07-04 10:26:52
summary:     [migration] bug 1205 migration failed for cz instance
affected #:  1 file (4 bytes)

--- a/ckan/migration/versions/029_version_groups.py	Fri Jul 01 11:11:24 2011 +0100
+++ b/ckan/migration/versions/029_version_groups.py	Mon Jul 04 09:26:52 2011 +0100
@@ -147,7 +147,7 @@
     package_group_revision_table.create()
     for row in migrate_engine.execute(package_group_table.select()):
         pkg_group_rev = dict(row.items())
-        pkg_group_rev['continuity_id'] = group_rev['id']
+        pkg_group_rev['continuity_id'] = pkg_group_rev['id']
         q = package_group_revision_table.insert(values=pkg_group_rev)
         migrate_engine.execute(q)

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