[ckan-changes] [ckan/ckan] ad2cb6: RDF template returns server error if package has n...
GitHub
noreply at github.com
Wed Sep 14 11:45:43 UTC 2016
Branch: refs/heads/release-v2.4.4
Home: https://github.com/ckan/ckan
Commit: ad2cb6ec8d9713f132db01dd4306a516700f4511
https://github.com/ckan/ckan/commit/ad2cb6ec8d9713f132db01dd4306a516700f4511
Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
Date: 2016-09-14 (Wed, 14 Sep 2016)
Changed paths:
M ckan/templates/package/read.rdf
Log Message:
-----------
RDF template returns server error if package has no extras
In very special situations, pkg_dict hasn't such key as 'extras'.
it results in server error, because rdf template uses `None` as
fallback value.
Replaced it with empty list - it's more logically
More information about the ckan-changes
mailing list