Project

General

Profile

Revision fe3180d3

IDfe3180d3be765b382f150b613f9936c711af9823
Parent 7450d44b
Child fa285af0

Added by Andreas Kohlbecker almost 2 years ago

fix #7641 ignoring unpersisted entities in ToOneRelatedEntityReloader

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/event/ToOneRelatedEntityReloader.java
64 64

  
65 65
        @SuppressWarnings("unchecked")
66 66
        CDM value = (CDM)event.getProperty().getValue();
67
        if(value == null) {
67
        if(value == null || !value.isPersited()) {
68 68
            return;
69 69
        }
70 70
        value = HibernateProxyHelper.deproxy(value);

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)