cessda / cessda.cdc.versions

Issue track and wiki for the CESSDA Data Catalogue
https://datacatalogue.cessda.eu/
Apache License 2.0
0 stars 0 forks source link

Add in new date Formatter to handle new date formats for OAI-PMH repos #106

Closed cessda-bitbucket-importer closed 5 years ago

cessda-bitbucket-importer commented 5 years ago

Original report on BitBucket by John Shepherdson (GitHub: john-shepherdson).


cessda-bitbucket-importer commented 5 years ago

Original comment by John Shepherdson (GitHub: john-shepherdson).


See #64, same problem for non-NESSTAR endpoints.

cessda-bitbucket-importer commented 5 years ago

Original comment by John Shepherdson (GitHub: john-shepherdson).


Checked logs from overnight re-index kicked off at 2019-29-04 23:08:51.284. Looked at all 3 applications in Spring Boot admin (full, not truncated version of logs, clicked on ‘Download’). No sign of problem in pasc-oci or pasc-osmh-handler-nestar, but there are 130 occurrences in pasc-osmh-handler-oai-pmh (all for UKDS, but the look of it).

2019-29-04 23:25:52.803  ERROR              (getLocalDateTime)                    (TimeUtility.java:41) - Cannot parse date string [1993-01-01 00:00:00.000] using expected date formats [[yyyy-MM-dd'T'HH:mm:ss'Z', yyyy-MM-dd, yyyy-MM-dd'T'HH:mm:ssZ, yyyy-MM, yyyy]], Exception Message [Unable to parse the date: 1993-01-01 00:00:00.000]
cessda-bitbucket-importer commented 5 years ago

Original comment by John Shepherdson (GitHub: john-shepherdson).


Duplicate of #101.

cessda-bitbucket-importer commented 5 years ago

Original comment by Moses Mansaray (GitHub: doraVentures).


Please close dup. Will fix here #101