core-geonetwork
core-geonetwork copied to clipboard
Codelist translator doesn't cache codelists per schema
The following code creates a cache codelists per language, but if a codelist exists in different schemas (for example, an iso19139 values) and have different translations / values, the one loaded in the last schemas processed is used only:
https://github.com/geonetwork/core-geonetwork/blob/a2ada8b830d0bdb937e1846432376267d41cd402/core/src/main/java/org/fao/geonet/kernel/search/CodeListCacheLoader.java#L59-L63