Project

General

Profile

« Previous | Next » 

Revision 5d3b01ec

Added by Andreas Kohlbecker almost 5 years ago

reloading new reference to get id

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/StartRegistrationPresenter.java
119 119

  
120 120
                newReference = newReferencePopup.getBean();
121 121

  
122
                // TODO the bean contained in the popup editor is not yet updated at this point.
123
                //      so re reload it using the uuid since new beans will not have an Id at this point.
124
                newReference = getRepo().getReferenceService().find(newReference.getUuid());
125

  
122 126
                getView().getReferenceCombobox().setValue(null);  // deselect
123 127
                getView().getReferenceCombobox().setEnabled(false);
124 128

  

Also available in: Unified diff