Project

General

Profile

« Previous | Next » 

Revision f4682883

Added by Andreas Müller over 7 years ago

ref #3925 fix excluded flag for Cuba

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/cuba/CubaExcelImport.java
927 927
                state.putHigherTaxon(genusStr, genus);
928 928
            }
929 929
        }
930
        taxon.addSource(makeOriginalSource(state));
931

  
932
        TaxonNode newNode = higherNode.addChildTaxon(taxon, null, null);
930 933
        if(isAbsent){
931 934
            botanicalName.setTitleCache(taxonStrOrig, true);
932
            taxon.setExcluded(true);
935
            newNode.setExcluded(true);
933 936
        }
934 937

  
935
        higherNode.addChildTaxon(taxon, null, null);
936
        taxon.addSource(makeOriginalSource(state));
937

  
938 938
        return taxon;
939 939
    }
940 940

  

Also available in: Unified diff