From a3affc97027cef4b037348f3b538d0a8ad590f38 Mon Sep 17 00:00:00 2001 From: amercader Date: Wed, 8 Oct 2014 12:02:26 +0100 Subject: [PATCH] Fix validators on harvest_source_show schema Remove validators on several keys so they don't get stripped during the show validation. --- ckanext/harvest/logic/schema.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ckanext/harvest/logic/schema.py b/ckanext/harvest/logic/schema.py index e9253a5..c92c806 100644 --- a/ckanext/harvest/logic/schema.py +++ b/ckanext/harvest/logic/schema.py @@ -82,9 +82,15 @@ def harvest_source_show_package_schema(): 'source_type': [convert_from_extras, ignore_missing], 'frequency': [convert_from_extras, ignore_missing], 'config': [convert_from_extras, harvest_source_convert_from_config, ignore_missing], - 'owner_org': [ignore_missing], 'metadata_created': [], 'metadata_modified': [], + 'owner_org': [], + 'creator_user_id': [], + 'organization': [], + 'notes': [], + 'revision_id': [], + 'revision_timestamp': [], + 'tracking_summary': [], }) schema['__extras'] = [ignore]