Project

General

Profile

« Previous | Next » 

Revision 408fe3ed

Added by Andreas Kohlbecker about 5 years ago

avoiding LazyInitialitationException

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/StartRegistrationPresenter.java
192 192
                newReference = newReferencePopup.getBean();
193 193

  
194 194
                // TODO the bean contained in the popup editor is not yet updated at this point.
195
                //      so re reload it using the uuid since new beans will not have an Id at this point.
196
                newReference = getRepo().getReferenceService().find(newReference.getUuid());
195
                //      so we reload it using the uuid since new beans will not have an Id at this point.
196
                newReference = getRepo().getReferenceService().load(newReference.getUuid());
197 197

  
198 198
                getView().getReferenceCombobox().setValue(null);  // deselect
199 199
                getView().getReferenceCombobox().setEnabled(false);

Also available in: Unified diff