Project

General

Profile

Revision 94dd2a5d

ID94dd2a5d3f5a8a421eadaf33737382603bb4f399
Parent 3412cfed
Child dd834f23

Added by Katja Luther 5 months ago

ref #8088: avoid NPE in saveTaxonNode

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/TaxonNodeServiceImpl.java
873 873
            taxon = newTaxonNode.getTaxon();
874 874
        }
875 875
        taxon.removeTaxonNode(newTaxonNode);
876
        if (taxon.getSec().isPersited()){
876

  
877
        if (taxon.getSec() != null && taxon.getSec().isPersited()){
877 878
            Reference sec = referenceService.load(taxon.getSec().getUuid());
878 879
            taxon.setSec(sec);
879 880
        }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)