Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Workfile Template Builder: Use correct variable in create placeholder #6141

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

iLLiCiTiT
Copy link
Member

Changelog Description

Use correct variable where failed instances are stored for validation.

Additional info

Current implementation was using _failed_representations which was copied from load, but should use _failed_created_publish_instances.

Testing notes:

Not sure how to test. Probably cause an error of create placeholder during workfile template builder.

@ynbot ynbot added type: bug Something isn't working size/XS Denotes a PR changes 0-99 lines, ignoring general files labels Jan 16, 2024
Copy link
Collaborator

@BigRoy BigRoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, makes sense. Without this it would be:

Unresolved attribute reference '_failed_representations' for class 'CreatePlaceholderItem'

Didn't test it.

Copy link
Member

@jakubjezek001 jakubjezek001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works in AY

@iLLiCiTiT iLLiCiTiT merged commit 766622f into develop Jan 26, 2024
16 checks passed
@iLLiCiTiT iLLiCiTiT deleted the bugfix/template-builder-use-correct-variable branch January 26, 2024 15:16
@ynbot ynbot added this to the next-patch milestone Jan 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
size/XS Denotes a PR changes 0-99 lines, ignoring general files type: bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants