bug #6389
Updated by Andreas Müller about 6 years ago
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). IOccurrenceService.listTypeDesignations(). 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.