Revision 13d24007
Added by Andreas Kohlbecker about 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/occurrence/CollectionEditorPresenter.java | ||
---|---|---|
140 | 140 |
if(event.getReason() == Reason.SAVE){ |
141 | 141 |
|
142 | 142 |
Collection newCollection = collectionPopuEditor.getBean(); |
143 |
|
|
144 |
// TODO the bean contained in the popup editor is not yet updated at this point. |
|
145 |
// so re reload it using the uuid since new beans will not have an Id at this point. |
|
146 |
newCollection = getRepo().getCollectionService().find(newCollection.getUuid()); |
|
143 |
getCache().load(newCollection); |
|
147 | 144 |
getView().getSuperCollectionCombobox().getSelect().setValue(newCollection); |
148 | 145 |
} |
149 | 146 |
|
Also available in: Unified diff
ref #7344 updating presenter entity caches with beans modified in popup editors and refreshing teamOrPerson Fields