Add element guId in BCF report (#3549)

This commit is contained in:
Carlos Dias
2023-08-06 08:11:31 -03:00
parent ee09f2404b
commit a85fdf3f8e
+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"]}'