snowstorm icon indicating copy to clipboard operation
snowstorm copied to clipboard

Default module id not working

Open liquid36 opened this issue 10 months ago • 4 comments

Hi! I'm dealing with an issue trying yo create concepts. I created a new branch and set the default namespaces and module id. But if I create new concepts without moduleId, Snowstorm is still using de CORE_MODULE ID (900000000000207008).

Debugging the code i found out the problem (i think):

First, when concept is created, the CORE_MODULE is using as default:

https://github.com/IHTSDO/snowstorm/blob/master/src/main/java/org/snomed/snowstorm/core/data/domain/Concept.java#L97

So, the following conditions is always false:

https://github.com/IHTSDO/snowstorm/blob/master/src/main/java/org/snomed/snowstorm/core/data/services/ConceptUpdateHelper.java#L260

Descriptions and relationships is working fine.

liquid36 avatar Apr 23 '24 14:04 liquid36