mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Safe-guard workfile template builder for versionless products
This commit is contained in:
parent
1f3209698e
commit
1792529267
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue