Mats Elfstrom ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=60aeb4ff3efbd90069f81b0d
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYjAwNDljYzY1MGMwNGI5NmJjNzc4ZTg1ZDU0ZGVhNWMiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10110?atlOrigin=eyJpIjoiYjAwNDljYzY1MGMwNGI5NmJjNzc4ZTg1ZDU0ZGVhNWMiLCJwIjoiaiJ9
 ) GEOS-10110 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10110?atlOrigin=eyJpIjoiYjAwNDljYzY1MGMwNGI5NmJjNzc4ZTg1ZDU0ZGVhNWMiLCJwIjoiaiJ9
 ) Geoserver csw request provides false Datestamp ( 
https://osgeo-org.atlassian.net/browse/GEOS-10110?atlOrigin=eyJpIjoiYjAwNDljYzY1MGMwNGI5NmJjNzc4ZTg1ZDU0ZGVhNWMiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.19.1 Assignee: Unassigned Components: CSW 
Created: 13/Jun/21 4:05 PM Environment:

Tomcat 9 on Windows 2016 server

Priority: High Reporter: Mats Elfstrom ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=60aeb4ff3efbd90069f81b0d
 )

A csw response from Geoserver provides no datestamp, and thus the csw cannot be 
harvested to Geonetwork (4). The layer has a creation date set in the Metadata 
tab.
The datestamp section reads like this:
 {{ <gmd:dateStamp>
<gco:Date xsi:nil="false">Unknown</gco:Date>
</gmd:dateStamp> }} 
This breaks the csw harvester with this error:
 {{ 2021-06-13T15:34:11,753+0200 ERROR [Giskraft_csw] - Unable to process 
record from csw (Giskraft csw)
2021-06-13T15:34:11,753+0200 ERROR [Giskraft_csw] - Record failed: 
misc:sockenstad. Error is: Invalid ISO date: Unknown
2021-06-13T15:34:11,753+0200 ERROR [Giskraft_csw] - Invalid ISO date: Unknown
java.lang.IllegalArgumentException: Invalid ISO date: Unknown }} 
A sample csw record from Geonetwork presents a Datestamp like this:
 {{ <gmd:dateStamp>
<gco:DateTime>2021-04-01T15:41:55</gco:DateTime>
</gmd:dateStamp> }} 

There seems to be no way to edit which attribute is put into the Datestamp 
attribute.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10110#add-comment?atlOrigin=eyJpIjoiYjAwNDljYzY1MGMwNGI5NmJjNzc4ZTg1ZDU0ZGVhNWMiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10110#add-comment?atlOrigin=eyJpIjoiYjAwNDljYzY1MGMwNGI5NmJjNzc4ZTg1ZDU0ZGVhNWMiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100166- 
sha1:25236ce )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to