Project

General

Profile

Actions

bug #9103

closed

missing exception handling in TaxoNodeDto

Added by Andreas Kohlbecker almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Found in Version:

Description

see

try{
                TaxonNode parent = taxonNode.getParent();
                parentUUID = parent == null? null:parent.getUuid();
            }catch(Exception e){
                parentUUID = null;
            }

            sortIndex = taxonNode.getSortIndex();
            try{
                classificationUUID = taxonNode.getClassification().getUuid();

            }catch(Exception e){
                classificationUUID = null;
            }

LazyInitializationException are caught here, which can lean to missing data due to improper initialization.

Actions

Also available in: Atom PDF