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

Bugfix/empty enumerator attributes #436

Merged
merged 1 commit into from
Aug 17, 2020

Conversation

iLLiCiTiT
Copy link
Member

Issue

Enumerator custom attribute definition in Ftrack does not allow to have empty list in possible values. If none of tools or applications is set to True (as using) the attribute creation will crash.

Suggested solution

Make sure tools and applications attributes always have at least one item in, to not raise an exception. The item name and label is "empty": "< Empty".

@iLLiCiTiT iLLiCiTiT self-assigned this Aug 12, 2020
@iLLiCiTiT iLLiCiTiT requested a review from a team August 12, 2020 19:25
@mkolar mkolar added this to the 2.12 milestone Aug 13, 2020
@mkolar mkolar added the type: bug Something isn't working label Aug 17, 2020
@mkolar mkolar merged commit 7e9787e into 2.x/develop Aug 17, 2020
@mkolar mkolar deleted the bugfix/empty_enumerator_attributes branch September 9, 2020 16:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants