From 07aff45cc4a0ac7356440ecf169ff17288dea693 Mon Sep 17 00:00:00 2001 From: Github Action Date: Thu, 28 Nov 2024 09:52:11 +0000 Subject: [PATCH 1/2] Version 1.0.4-SNAPSHOT [skip ci] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 320e195..751cfa5 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ fr.abes sudoc - 1.0.3 + 1.0.4-SNAPSHOT jar sudoc webservices de récupération de ppns dans le sudoc From d4492199e893e9303a149e59a3412e8b6db456b5 Mon Sep 17 00:00:00 2001 From: SamuelQuetin Date: Thu, 28 Nov 2024 11:14:24 +0100 Subject: [PATCH 2/2] Modif doi return notnull --- src/main/java/fr/abes/sudoc/controller/SudocController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/abes/sudoc/controller/SudocController.java b/src/main/java/fr/abes/sudoc/controller/SudocController.java index 029f3c1..5fabab8 100644 --- a/src/main/java/fr/abes/sudoc/controller/SudocController.java +++ b/src/main/java/fr/abes/sudoc/controller/SudocController.java @@ -156,7 +156,7 @@ public ResultWsDto doiIdentifier2Ppn(@RequestParam(name = "doi") String doi_iden throw new IOException(e.getMessage()); } catch (IllegalPpnException e) { log.info("Aucune notice ne correspond à l'identifiant " + doi_identifier); - return null; + //res.addErreur("Aucune notice ne correspond à l'identifiant " + doi_identifier); } return resultat; }