Project

General

Profile

Revision 32c67f95

ID32c67f95563a41a02670c78a8c4d9293e42675dd
Parent 1b30495e
Child 5915a355

Added by Andreas Kohlbecker almost 3 years ago

NPE fix

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/component/common/PersonField.java
304 304
        detailsContainer.setVisible(person != null);
305 305
        unlockSwitch.setVisible(person != null);
306 306
        titleCacheField.setVisible(person != null);
307
        nomenclaturalTitleField.setVisible(nomenclaturalTitleField.getValue().equals(titleCacheField.getValue()));
307
        String nomTitle = nomenclaturalTitleField.getValue();
308
        nomenclaturalTitleField.setVisible(nomTitle != null && nomTitle.equals(titleCacheField.getValue()));
308 309
        nomenclaturalTitleButtonChooseIcon();
309 310

  
310 311
    }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)