This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository echobase. See https://gitlab.nuiton.org/codelutin/echobase.git commit 9914fabbd73d846af6a7c7cd14076b513cb0dcca Author: Jean Couteau <jean.couteau@gmail.com> Date: Mon Mar 26 17:13:24 2018 +0200 fixes #9780 : Erreur durant l'export CIEM des données 2015 --- .../echobase/services/service/atlantos/xml/XmlBioticExport.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/echobase-services/src/main/java/fr/ifremer/echobase/services/service/atlantos/xml/XmlBioticExport.java b/echobase-services/src/main/java/fr/ifremer/echobase/services/service/atlantos/xml/XmlBioticExport.java index 6450ce8e..27f41afa 100644 --- a/echobase-services/src/main/java/fr/ifremer/echobase/services/service/atlantos/xml/XmlBioticExport.java +++ b/echobase-services/src/main/java/fr/ifremer/echobase/services/service/atlantos/xml/XmlBioticExport.java @@ -73,7 +73,8 @@ public class XmlBioticExport implements EchoBaseService { //Export Haul only if it contains samples for (Sample sample : samples) { SpeciesCategory category = sample.getSpeciesCategory(); - if (category.getSpecies().getIcesExport() != null && category.getSpecies().getIcesExport()) { + String name = sample.getSampleType().getName(); + if (!name.equals("Sorted") && category.getSpecies().getIcesExport() != null && category.getSpecies().getIcesExport()) { // EXPORT HAUL exportHaul = true; exportHaul(operation, index++, xmlCruise); @@ -109,7 +110,7 @@ public class XmlBioticExport implements EchoBaseService { SpeciesCategory category = sample.getSpeciesCategory(); - if (category.getSpecies().getIcesExport() != null && category.getSpecies().getIcesExport()) { + if (!name.equals("Sorted") && category.getSpecies().getIcesExport() != null && category.getSpecies().getIcesExport()) { //Compute code#cat key Species species = category.getSpecies(); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.