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

Merge branch 'release/4.2.5'

parents c3b56ee3 18b831f4
No related branches found
No related tags found
No related merge requests found
Pipeline #285226 passed
......@@ -39,6 +39,6 @@ License
See LICENCE_
.. _LICENCE: https://projects.gwdg.de/projects/oai-pmh/repository/revisions/master/entry/LICENSE.txt
.. _oaipmh_sources: https://projects.gwdg.de/projects/oai-pmh/repository
.. _oaipmh_bugtracking: https://projects.gwdg.de/projects/tg/work_packages
.. _LICENCE: https://gitlab.gwdg.de/dariah-de/dariah-de-oai-pmh-services/-/blob/main/LICENSE.txt
.. _oaipmh_sources: https://gitlab.gwdg.de/dariah-de/dariah-de-oai-pmh-services/
.. _oaipmh_bugtracking: https://gitlab.gwdg.de/dariah-de/dariah-de-oai-pmh-services/-/issues
......@@ -5,7 +5,7 @@
<parent>
<artifactId>oaipmh</artifactId>
<groupId>info.textgrid.middleware</groupId>
<version>4.2.4</version>
<version>4.2.5</version>
</parent>
<groupId>info.textgrid.middleware</groupId>
<artifactId>oaipmh-core</artifactId>
......
......@@ -605,8 +605,13 @@ public class OAIPMHUtilities {
final String identifier, final String setSpec) {
HeaderType result = new HeaderType();
result.setIdentifier(identifier);
//identifier.substring(0, identifier.indexOf("."));
if(identifier.contains(".")){
result.setIdentifier(identifier.substring(0, identifier.indexOf(".")));
}else{
result.setIdentifier(identifier);
}
result.setDatestamp(dateOfCreation);
log.debug(
......
......@@ -5,7 +5,7 @@
<parent>
<artifactId>oaipmh</artifactId>
<groupId>info.textgrid.middleware</groupId>
<version>4.2.4</version>
<version>4.2.5</version>
</parent>
<groupId>info.textgrid.middleware</groupId>
<artifactId>oaipmh-webapp</artifactId>
......
......@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>info.textgrid.middleware</groupId>
<artifactId>oaipmh</artifactId>
<version>4.2.4</version>
<version>4.2.5</version>
<packaging>pom</packaging>
<name>DARIAHDE :: OAI-PMH DataProvider</name>
<properties>
......
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