Mentions légales du service

Skip to content
Snippets Groups Projects
Commit af9bd7ba authored by AAZIBOU EL GERRAB Nabila's avatar AAZIBOU EL GERRAB Nabila
Browse files

hot fix dgsanté

parent 6d03f2af
No related branches found
No related tags found
2 merge requests!59release 3.2.1,!57bug fix regression 3.2.0
...@@ -55,7 +55,7 @@ public final class DTUtils { ...@@ -55,7 +55,7 @@ public final class DTUtils {
if (dt == null) { if (dt == null) {
return false; return false;
} }
String replacedDt = dt.replace(".", "_");; String replacedDt = dt.replace(".", "_");
String realDT = listDTString.contains(replacedDt) ? replacedDt:dt.split("\\.")[0]; String realDT = listDTString.contains(replacedDt) ? replacedDt:dt.split("\\.")[0];
return listDTString.contains(realDT); return listDTString.contains(realDT);
} }
...@@ -70,7 +70,8 @@ public final class DTUtils { ...@@ -70,7 +70,8 @@ public final class DTUtils {
String realDt = getRealDatatype(dataType); String realDt = getRealDatatype(dataType);
if(realDt == null){ if(realDt == null){
throw new IllegalArgumentException("Datatype "+dataType+" not found in datatypes.xml"); log.error("Datatype not found in datatypes.xml: {} " , dataType);
return null;
} }
return realDt return realDt
.replace("_", "") .replace("_", "")
......
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