Problem summary:
There are no Warnings when creating Tag metadata keys via Python that contain multiple "." characters
Customer reported version:
Hiero 16.0v1
Customer reported platform:
Rocky 9
Steps to reproduce:
1) Launch Nuke Studio and open the Script Editor
2) Run the following code and observe how no warnings or errors occur:
tag = hiero.core.Tag("MyTag") tag.metadata().setValue("tag.test", "test1") tag.metadata().setValue("tag.test.id", "test2") tag.metadata().setValue("tag.test.another.id", "test3") hiero.core.projects()[-1].tagsBin().addItem(tag) for key, value in tag.metadata().dict().items(): print(f"{key} : {value}")
3) Open the Tags panel, double click the newly created MyTag, and note how only the tag.test key is displayed
4) Apply this Tag to a Clip, and open the Clip in the Metadata View
5) Observe how the tag.test.id and tag.test.another.id keys are both displayed as "id":
Expected behavior:
As "." characters cannot be input when creating a Tag metadata key from the User Interface, Tag metadata keys created via Python should have a similar validation.
Actual behavior:
There are no noticeable character restrictions when creating Tag metadata keys via Python, but keys that contain multiple "." characters are not displayed consistently across Nuke Studio.
Prior to Nuke Studio 13.1v1, the Metadata View does not display the tag.test.id and tag.test.another.id keys identically:
Workaround:
No known workaround at this time.
Reproduced by Support in:
Nuke Studio 16.0v2 - Windows 11, Rocky 9
Nuke Studio 15.0v1 - Windows 11
Nuke Studio 14.0v1 - Windows 11
Nuke Studio 13.1v1 - Windows 11
Nuke Studio 13.0v1 - Windows 11
Nuke Studio 12.0v1 - Windows 11
Earliest version tested:
Nuke Studio 12.0v1 - This issue appears to be in all tested versions of the product