I have such exception in DSpace log on pressing button "Import Now" for 
collection:

java.text.ParseException: Unparseable date: "2017GMT-10-24"
at java.text.DateFormat.parse(DateFormat.java:357)
at org.dspace.core.Utils.parseISO8601Date(Utils.java:377)
at org.dspace.harvest.OAIHarvester.processRecord(OAIHarvester.java:469)
at org.dspace.harvest.OAIHarvester.runHarvest(OAIHarvester.java:354)
at org.dspace.harvest.OAIHarvester$HarvestThread.
runHarvest(OAIHarvester.java:1380)
at org.dspace.harvest.OAIHarvester$HarvestThread.run(OAIHarvester.java:1371)
at java.lang.Thread.run(Thread.java:745)

It happens on GetRecord (metadataPrefix=ore) OAI operation. Record has such 
date value: <datestamp>2017-10-24</datestamp>

I suppose it is error in Utils.parseISO8601Date implementation, because it 
can't parse "YYYY--MM-DD" format.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to