bug #6389
Updated by Patrick Plitzner about 6 years ago
I tried adding the following method to IService/ServiceBase. I then invoked it on the taxeditor side in different places. The returned map on the taxeditor side never has the expected size of i but only contains the first half of the entries. On the cdmlib side it is completely filled. ~~~ public Map returnMap() { Map map = new HashMap<>(); for(int i=0;i<10;i++){ map.put(i, i); } return map; } ~~~ ~~In In Campanula production DB search for "India, Sikkim*" in the specimen editor. The type icon for the DerivedUnits seem to be placed randomly every time you search. After a little investigation I found out that it was due to IOccurrenceService.listTypeDesignations(Collection<DerivedUnit> specimens). The returned collection of SpecimenTypeDesignation is not equal to the one that you could create by iterating through all DerivedUnits and adding the result of DerivedUnit.getSpecimenTypeDesignations(). As this is nevertheless a very resource intensive call just for showing icons I replaced it. But anyway this should be analyzed.~~ analyzed.