validate IfcApplication.UR2 - check that both version and app name are not None (263d238f9)

Otherwise it will be caught by regular validation checks
This commit is contained in:
Andrej730
2025-06-23 17:18:30 +05:00
parent 28bee52dff
commit a76af3c2ba
@@ -694,7 +694,7 @@ def validate_ifc_applications(f: ifcopenshell.file, logger: Union[Logger, json_l
app_name: tuple[str, str] = (inst.ApplicationFullName, inst.Version)
app_id: str = inst.ApplicationIdentifier
if app_name is not None:
if all(x is not None for x in app_name):
if app_name not in used_names:
used_names[app_name] = inst
else: