diff --git a/src/main/server/adapter/ceasn/ceasn.js b/src/main/server/adapter/ceasn/ceasn.js index 917f3589f..8ac728d87 100644 --- a/src/main/server/adapter/ceasn/ceasn.js +++ b/src/main/server/adapter/ceasn/ceasn.js @@ -742,7 +742,7 @@ async function cassFrameworkAsCeasnCollection(framework) { for (var i = 0; i < f.competency.length; i++) { var c = await EcCompetency.get(f.competency[i], null, null, repo); if (c != null) { - competencies[f.competency[i]] = competencies[c.id] = c; + competencies[f.competency[i]] = competencies[c.shortId()] = competencies[c.id] = c; } }