Skip to content

Commit 796f1f4

Browse files
committed
fix(rf2): minor change to ensure that serialization of merged...
...language configuration does not cause issues when updating codesystem metadata after RF2 import
1 parent 9ba291d commit 796f1f4

File tree

1 file changed

+1
-1
lines changed
  • snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/rf2

1 file changed

+1
-1
lines changed

snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/rf2/SnomedRf2ImportRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ private void updateCodeSystemSettings(final BranchContext context, final Resourc
513513
ResourceRequests.prepareUpdate(resourceUri.getResourceId())
514514
.setSettings(Map.of(
515515
CodeSystem.CommonSettings.LOCALES, currentLocales,
516-
SnomedTerminologyComponentConstants.CODESYSTEM_LANGUAGE_CONFIG_KEY, mergedLanguagesConfiguration.values()
516+
SnomedTerminologyComponentConstants.CODESYSTEM_LANGUAGE_CONFIG_KEY, List.copyOf(mergedLanguagesConfiguration.values())
517517
))
518518
.build(author, String.format("Update '%s' settings based on RF2 import", resourceUri.getResourceId()))
519519
.execute(context.service(IEventBus.class))

0 commit comments

Comments
 (0)