Skip to content
Snippets Groups Projects
Commit 5ae4207e authored by mbrodhu's avatar mbrodhu
Browse files

Wrong date format was used for idiom record

parent 7d917202
No related branches found
No related tags found
No related merge requests found
......@@ -90,9 +90,9 @@ public class RecordDelivererIDIOM extends RecordDelivererAbstract {
.getRcordByIDFromElasticSearch("textgrid-nonpublic", changedId, fields, Strings.EMPTY_ARRAY)
.getSource());
log.debug("id in elasticsearch is: " + OAIPMHUtilities
.datestampAsString(OAIPMHUtilities.fieldLoader(json, TGConstants.CREATED)));
log.debug(json);
//log.debug("id in elasticsearch is: " + OAIPMHUtilities
// .datestampAsString(OAIPMHUtilities.fieldLoader(json, TGConstants.CREATED)));
//log.debug(json);
this.dateOfObjectCreation = OAIPMHUtilities
.datestampAsString(OAIPMHUtilities.fieldLoader(json, TGConstants.CREATED));
......
......@@ -395,10 +395,10 @@ public class OaiPmhTestTG {
* @throws ParseException
*/
@Test
@Ignore
//@Ignore
public void testGetRequestGetRecordIDIOM() throws ParseException {
System.out.println("Test for the verb \"GetRecord\" with succesfull response");
String p = this.request.getRequest("GetRecord", "textgrid:2rcj2",
String p = this.request.getRequest("GetRecord", "textgrid:3whkp",
OAIPMHConstants.METADATA_IDIOM_PREFIX, "", "", "", "");
System.out.println(p);
System.out.println("-----------------------------------\n");
......
......@@ -11,7 +11,7 @@
<common.version>4.0.1</common.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<cxf.version>3.3.11</cxf.version>
<mets-mods-mapping.version>1.1.22</mets-mods-mapping.version>
<mets-mods-mapping.version>1.1.24</mets-mods-mapping.version>
<spring.version>4.0.2.RELEASE</spring.version>
<elasticsearch.version>6.5.4</elasticsearch.version>
<antlr-runtime.version>3.2</antlr-runtime.version>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment