Merge pull request #1557 from BigRoy/enhancement/workfile_template_builder_safeguard_versionless_products

Workfile Templates: Safe-guard workfile template builder for versionless products
This commit is contained in:
Jakub Trllo 2025-11-19 16:50:41 +01:00 committed by GitHub
commit 3375021ee6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1687,6 +1687,8 @@ class PlaceholderLoadMixin(object):
for version in get_last_versions(
project_name, filtered_product_ids, fields={"id"}
).values()
# Version may be none if a product has no versions
if version is not None
)
return list(get_representations(
project_name,