Project

General

Profile

Revision 7c3d49e6

ID7c3d49e6a3fc7429d8581f1cdc2583bc7bb5508d
Parent 4e7d237c
Child 21d27e0f

Added by Katja Luther about 1 month ago

ref #9515: remove second call setIndividualsAssociationDescriptionPerTaxon

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/specimen/abcd206/in/Abcd206Import.java
781 781
                importAssociatedUnits(state, item, derivedUnitFacade);
782 782
            }
783 783
            if (state.getConfig().getDnaSoure() != null ) {
784
                importAssociatedDna(state, item, derivedUnitFacade);
784
                boolean uriCorrect = true;
785
                try{
786
                    state.getConfig().getDnaSoure().toString();
787
                }catch(Exception e){
788
                    uriCorrect = false;
789
                }
790
                if (uriCorrect){
791
                    try{
792
                        importAssociatedDna(state, item, derivedUnitFacade);
793
                    }catch(Exception e){
794
                        String message = "Error when importing Dna! " + itemObject.toString();
795
                        state.getReport().addException(message, e);
796
                        state.setUnsuccessfull();
797
                    }
798
                }
799

  
785 800
            }
786 801
            // siblings/ other children
787 802
            if (derivedUnitFacade.getType() != null
......
795 810

  
796 811
        } catch (Exception e) {
797 812
            String message = "Error when reading record! " + itemObject.toString();
798
            logger.warn(message);
799 813
            state.getReport().addException(message, e);
800
            e.printStackTrace();
801 814
            state.setUnsuccessfull();
802 815
        }
803 816

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)