Project

General

Profile

« Previous | Next » 

Revision 8e22f635

Added by Katja Luther over 6 years ago

ref #6693: add subGenusAuthor to null check when changing NC

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NonViralNameDetailElement.java
222 222
			
223 223
		}
224 224
		if (actualCode.equals(NomenclaturalCode.ICNB)){
225
			if (getEntity().getNameApprobation() != null){
225
			if (getEntity().getNameApprobation() != null || getEntity().getSubGenusAuthorship() != null){
226 226
				if (MessagingUtils.confirmDialog(Messages.NonViralNameDetails_confirmDeleteOfBacterialNameParts, Messages.NonViralNameDetails_desciptionDeleteOfBacterialNameParts)){
227 227
					getEntity().setNameApprobation(null);
228
					getEntity().setSubGenusAuthorship(null);
228 229
					return true;
229 230
				}
230 231
			}else{

Also available in: Unified diff