Project

General

Profile

« Previous | Next » 

Revision 2b9b03a1

Added by Andreas Kohlbecker over 6 years ago

fix #7154 CdmEntityCache can update cached entities and using this in ToOneRelatedEntityReloader and in
SpecimenTypeDesignationWorkingsetEditorPresenter to update the ui with modified collections

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/event/ToOneRelatedEntityReloader.java
62 62
        EntityCache cache = cachingPresenter.getCache();
63 63
        if(cache != null){
64 64
            cache.update();
65
            CDM cachedEntity = cache.find(value);
65
            CDM cachedEntity = cache.findAndUpdate(value);
66 66
            if(cachedEntity == null){
67 67
                cache.add(value);
68 68
            } else if(

Also available in: Unified diff