try{
Taxon taxon = HibernateProxyHelper.deproxy(taxonNode.getTaxon());
if(taxon == null){
- return taxonNode.getClassification().getName().getText();
+ String text = taxonNode.getClassification().getName().getText();
+ if(text==null){
+ text = taxonNode.getClassification().getTitleCache();
+ }
+ return text;
//MessagingUtils.error(getClass(), String.format(Messages.TaxonNodeLabelProvider_NODE_WITH_NO_TAXON, element), null);
// throw new RuntimeException("The data your are trying to view is corrupt. Please check your import.");
}else{
styler = getNotGrantedStyler();
}
return new StyledString(getText(element), styler);
-
}
/**