diff --git a/ckan/controllers/package.py b/ckan/controllers/package.py index c4f788336aa..d19dffed11a 100644 --- a/ckan/controllers/package.py +++ b/ckan/controllers/package.py @@ -455,12 +455,12 @@ def new(self, data=None, errors=None, error_summary=None): return self._save_new(context) data = data or clean_dict(unflatten(tuplize_dict(parse_params( - request.POST, ignore_keys=CACHE_PARAMETERS)))) + request.params, ignore_keys=CACHE_PARAMETERS)))) c.resources_json = json.dumps(data.get('resources', [])) # convert tags if not supplied in data if data and not data.get('tag_string'): data['tag_string'] = ', '.join( - h.dict_list_reduce(data['tags'], 'name')) + h.dict_list_reduce(data.get('tags', {}), 'name')) errors = errors or {} error_summary = error_summary or {} diff --git a/doc/_themes/sphinx-theme-okfn b/doc/_themes/sphinx-theme-okfn index e2722286d64..3c912d26ad8 160000 --- a/doc/_themes/sphinx-theme-okfn +++ b/doc/_themes/sphinx-theme-okfn @@ -1 +1 @@ -Subproject commit e2722286d647df9e79c723aa469198cace34e36d +Subproject commit 3c912d26ad863a9cdadf89a47f63aef41d6c095b