[ckan-changes] [ckan/ckan] ee9cd6: RDF template returns server error if package has n...
GitHub
noreply at github.com
Wed Sep 14 11:45:30 UTC 2016
Branch: refs/heads/release-v2.3.5
Home: https://github.com/ckan/ckan
Commit: ee9cd60e9c027c1c2ce6e9ca4c52cbb18508c5de
https://github.com/ckan/ckan/commit/ee9cd60e9c027c1c2ce6e9ca4c52cbb18508c5de
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