Revision 866975ac
Added by Andreas Kohlbecker almost 5 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/event/ToOneRelatedEntityReloader.java | ||
---|---|---|
51 | 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 |
// whereas i observed that it is a hibnerate proxy during the first call,
|
|
54 |
// whereas i observed that it is a hibernate proxy during the first call,
|
|
55 | 55 |
// the second time it is the de-proxied entity which was during the first call inside the proxy. |
56 | 56 |
// Since both cdm enties are the same object |
57 | 57 |
// a reduction to one call should not break anything, but at least one call during the initialization |
Also available in: Unified diff
ref #8205 clening up: removing duplicate application of the ReferenceEllypsisCaptionGenerator and minor cleaning