Skip to content

Commit

Permalink
Fix error where C_ARCHETYPE_ROOT nodes with no id-code def in termino…
Browse files Browse the repository at this point in the history
…logy caused exception.
  • Loading branch information
wolandscat committed Aug 30, 2024
1 parent f1dc766 commit 6990a0c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ feature {NONE} -- Implementation
do
create Result.make_empty
if attached arch_node then

Result := owning_archetype_flat_terminology.term_definition (display_settings.language, arch_node.node_id).text.twin

if display_settings.show_codes then
Result := annotated_code (arch_node.node_id, Result, " ")
if owning_archetype_flat_terminology.has_code (arch_node.node_id) then
Result := owning_archetype_flat_terminology.term_definition (display_settings.language, arch_node.node_id).text.twin
if display_settings.show_codes then
Result := annotated_code (arch_node.node_id, Result, " ")
end
end

if display_settings.show_technical_view then
Expand Down

0 comments on commit 6990a0c

Please sign in to comment.