[ckan-changes] [okfn/ckan] f98a4b: [model]: #1546/#191 Fix for SOLR indexing of new p...
noreply at github.com
noreply at github.com
Thu Dec 15 19:02:45 UTC 2011
Branch: refs/heads/defect-191-modification-date
Home: https://github.com/okfn/ckan
Commit: f98a4b2a5f5013fa4aed475bd8b3237bb7847fcc
https://github.com/okfn/ckan/commit/f98a4b2a5f5013fa4aed475bd8b3237bb7847fcc
Author: David Read <david.read at okfn.org>
Date: 2011-12-15 (Thu, 15 Dec 2011)
Changed paths:
M ckan/model/package.py
Log Message:
-----------
[model]: #1546/#191 Fix for SOLR indexing of new packages, broken in a619.
Commit: bebf7a5ed5ac752f27eef0dfe211f9047434d27d
https://github.com/okfn/ckan/commit/bebf7a5ed5ac752f27eef0dfe211f9047434d27d
Author: David Read <david.read at okfn.org>
Date: 2011-12-15 (Thu, 15 Dec 2011)
Changed paths:
M ckan/lib/dictization/model_dictize.py
M ckan/model/group.py
M ckan/model/package.py
M ckan/tests/functional/api/test_action.py
M ckan/tests/models/test_package.py
M doc/apiv3.rst
Log Message:
-----------
[model,lib,tests]: Added (much needed) tests for calculation of metadata_modified. Fixed up float breakage. If it cannot calculate metadata_modified it returns None instead of now() - this should never happen and if it does it would be good to find out why as its probably an error. Optimised package dictization to avoid calculation metadata_modified and created twice.
Compare: https://github.com/okfn/ckan/compare/09d0768...bebf7a5
More information about the ckan-changes
mailing list