Revision af8ec722
Added by Andreas Kohlbecker almost 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/event/ToOneRelatedEntityReloader.java | ||
---|---|---|
48 | 48 |
@Override |
49 | 49 |
public void valueChange(ValueChangeEvent event) { |
50 | 50 |
|
51 |
// TODO during the view intitialization this method is called twice with the same value.
|
|
51 |
// TODO during the view initialization this method is called twice with the same value. |
|
52 | 52 |
// for faster view initialization it might make sense to reduce this to only one call. |
53 | 53 |
// only one call should be sufficient since the same value object is use in both calls |
54 | 54 |
// whereas i observed that it is a hibnerate proxy during the first call, |
src/main/java/eu/etaxonomy/cdm/vaadin/view/name/SpecimenTypeDesignationWorkingsetEditorPresenter.java | ||
---|---|---|
147 | 147 |
workingSetDto = specimenTypeDesignationWorkingSetService.create(idset.registrationUuid, idset.publicationUuid, idset.typifiedNameUuid); |
148 | 148 |
// need to use load but put see #7214 |
149 | 149 |
cache.load(workingSetDto.getOwner()); |
150 |
cache.load(workingSetDto.getTypifiedName()); |
|
150 | 151 |
rootEntities.add(workingSetDto.getOwner()); |
151 | 152 |
} |
152 | 153 |
|
Also available in: Unified diff
fix #7545 loading typifiedName into cache to avoid multiple representation problems