Project

General

Profile

Revision 6375d175

ID6375d1759675707621023d0e1e17e0dac0023512
Parent c0c4c356
Child d5e984f6

Added by Patrick Plitzner about 5 years ago

#5448 Fix title cache and LIE issues

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/redlist/gefaesspflanzen/RedListGefaesspflanzenImportClassification.java
11 11

  
12 12
import java.sql.ResultSet;
13 13
import java.sql.SQLException;
14
import java.util.Arrays;
14 15
import java.util.HashMap;
15 16
import java.util.HashSet;
16 17
import java.util.Map;
......
95 96
    private void importFamilies(Classification gesamtListe, Classification checkliste,
96 97
            RedListGefaesspflanzenImportState state) {
97 98
        for(UUID uuid:state.getFamilyMap().values()){
98
            Taxon familyGL = HibernateProxyHelper.deproxy(getTaxonService().load(uuid), Taxon.class);
99
            Taxon familyGL = HibernateProxyHelper.deproxy(getTaxonService().load(uuid, Arrays.asList(new String[]{"*"})), Taxon.class);
99 100
            Taxon familyCL = (Taxon) familyGL.clone();
100 101

  
101 102
            gesamtListe.addChildTaxon(familyGL, null, null);
102 103
            familyGL.setSec(gesamtListe.getReference());
104
            familyGL.setTitleCache(null);
103 105

  
104 106
            checkliste.addChildTaxon(familyCL, null, null);
105 107
            familyCL.setSec(checkliste.getReference());
108
            familyCL.setTitleCache(null);
106 109
        }
107 110
    }
108 111

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)