Project

General

Profile

« Previous | Next » 

Revision 840605a4

Added by Katja Luther over 3 years ago

fix NPE for cloned lectotype typedesignations

(cherry picked from commit 11c7cb1711a7ed2dc828b81318fcaf34e34a3ef9)

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/AbstractTypeDesignationElement.java
99 99
            }
100 100
        }
101 101
	    if (entity.hasDesignationSource()){
102
            singleSourceElement.setEntity(entity.getSource());
102
            singleSourceElement.setEntity(entity.getSource(true));
103 103
        }
104 104
	    sourceSection = formFactory.createSourceSection(getConversationHolder(), formElement, StoreUtil.getSectionStyle(SourceSection.class, IdentifiableSource.class.getCanonicalName()));
105 105
        sourceSection.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));

Also available in: Unified diff