From ece8d1b1832c53ea76495eb6ac3c0431f42596aa Mon Sep 17 00:00:00 2001 From: ewuerger Date: Mon, 4 Dec 2023 11:24:00 +0100 Subject: [PATCH] fix(serializer): Add `SystemCapability` in the registry This fixes the problem that pre- and post-condition would miss on SystemCapabilities. --- capella2polarion/elements/serialize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capella2polarion/elements/serialize.py b/capella2polarion/elements/serialize.py index b5361520..c8a1c232 100644 --- a/capella2polarion/elements/serialize.py +++ b/capella2polarion/elements/serialize.py @@ -313,8 +313,8 @@ def physical_component( "CapabilityRealization": include_pre_and_post_condition, "LogicalComponent": component_or_actor, "OperationalCapability": include_pre_and_post_condition, - "Capability": include_pre_and_post_condition, "PhysicalComponent": physical_component, + "SystemCapability": include_pre_and_post_condition, "SystemComponent": component_or_actor, "Scenario": include_pre_and_post_condition, "Constraint": constraint,