core-geonetwork icon indicating copy to clipboard operation
core-geonetwork copied to clipboard

Codelist translator doesn't cache codelists per schema

Open josegar74 opened this issue 3 years ago • 0 comments

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

josegar74 avatar Mar 22 '21 14:03 josegar74