Revision 9e7339f0
Added by Patrick Plitzner almost 7 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/redlist/gefaesspflanzen/RedListGefaesspflanzenImportClassification.java | ||
---|---|---|
212 | 212 |
} |
213 | 213 |
|
214 | 214 |
taxon.setSec(classification.getReference()); |
215 |
taxon.setTitleCache(null);//Reset title cache to see sec ref in title |
|
216 | 215 |
classification.addChildTaxon(taxon, null, null); |
216 |
//TODO is saving and setting the title cache to null neccessary? |
|
217 | 217 |
getTaxonService().saveOrUpdate(taxon); |
218 | 218 |
getTaxonService().saveOrUpdate(gesamtListeTaxon); |
219 | 219 |
if(checklisteTaxon!=null){ |
220 | 220 |
getTaxonService().saveOrUpdate(checklisteTaxon); |
221 | 221 |
} |
222 |
taxon.setTitleCache(null);//Reset title cache to see sec ref in title |
|
222 | 223 |
} |
223 | 224 |
} |
224 | 225 |
|
Also available in: Unified diff
#5448 javadoc