Add element guId in BCF report (#3549)

This commit is contained in:
Carlos Dias
2023-08-06 08:11:31 -03:00
committed by GitHub
parent c3f352c018
commit fe5a6749a7
+1 -1
View File
@@ -342,7 +342,7 @@ class Bcf(Json):
continue
for failure in requirement["failed_entities"]:
element = failure["element"]
title = f"{element.id()}/{element.is_a()}/"
title = f"ID:[{element.id()}]/GUID:[{element.GlobalId}]/{element.is_a()}/"
title += getattr(element, "Name", None) or "Unnamed"
title += " - " + failure.get("reason", "No reason")
description = f'{specification["name"]} - {requirement["description"]}'