ckan / ckanext-spatial

Geospatial extension for CKAN
http://docs.ckan.org/projects/ckanext-spatial
126 stars 193 forks source link

CSW Harvest from Geoserver requires valid dateStamp #202

Open nk027 opened 6 years ago

nk027 commented 6 years ago

When harvesting from Geoserver csw it seems as if a valid date in dateStamp.DateTime is required for the harvest to work. This is an issue as Geoserver only sets dateStamp.Date and has it default to "Unknown" if metadata.date is null. This was very hard to debug as there seems to be no error message addressing this issue.

nk027 commented 6 years ago

With the (rather) uninformative log. ckan_log.txt

amercader commented 6 years ago

You can choose a different validator that is perhaps more flexible. There are different profiles available, and here you can read about how to configure it: http://docs.ckan.org/projects/ckanext-spatial/en/latest/harvesters.html