Project

General

Profile

« Previous | Next » 

Revision 684d6197

Added by Andreas Kohlbecker over 2 years ago

fix #9452 consistend an sensible handling of name type status flags

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/name/NameTypeDesignationPresenter.java
294 294
            bean.setDesignationSource(null); // this effectively removes the designation reference and reference detail
295 295
        }
296 296

  
297
        if(bean.isNotDesignated()) {
298
            // having a type name makes no sense in this case, therefore we now remove it now
299
            bean.setTypeName(null);
300
        }
301

  
297 302
        // the typifiedNames can only be set on the name side, so we need to
298 303
        // handle changes explicitly here
299 304
        HashSet<TaxonName> typifiedNames = new HashSet<>(bean.getTypifiedNames());

Also available in: Unified diff