[ckan-dev] DB migration bug and quoted extras

Adrià Mercader adria.mercader at okfn.org
Wed Mar 27 16:43:24 UTC 2013


Hi,

Just flagging this here in case some finds the same issue on the 2.0
release branch. A bug was introduced a while ago [1] that made that
the extras were not correctly saved as json, as the original migration
script intended. Joe pushed a fix for it [2], but if you run a `paster
db upgrade` on the meantime the script did not do what expected. The
main symptom of this is that extras appear quoted on the frontend and
some stuff like the dataset map does not work.

Unfortunately there is not an elegant fix, as running `paster db
upgrade` will not run the script and say that.



[1] https://github.com/okfn/ckan/commit/7677d69e
[2] https://github.com/okfn/ckan/pull/706




More information about the ckan-dev mailing list