Project

General

Profile

« Previous | Next » 

Revision e4f9e245

Added by Andreas Müller over 5 years ago

ref #7415 fix NPE in ExternalLinksElement

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/common/ExternalLinksElement.java
66 66
        if (entity.getLinkType() != null){
67 67
            combo_linkType.setSelection(entity.getLinkType());
68 68
        }
69
        if (entity.getDescription() != null) {
69
        if (entity.getDescription() != null 
70
        		&& entity.getDescription().get(CdmStore.getDefaultLanguage()) != null) {
70 71
            description.setText(entity.getDescription().get(
71 72
                        CdmStore.getDefaultLanguage()).getText());
72 73
        }

Also available in: Unified diff