ynput / ayon-ftrack

Apache License 2.0
3 stars 9 forks source link

Object names from ftrack initially sync to AYON lacking flanking underscore/s #137

Open ryanzujic opened 1 month ago

ryanzujic commented 1 month ago

Is there an existing issue for this?

Current Behavior:

Thanks for everyone's efforts on this great toolset so far.

There appears to be an issue when folders or tasks are created on ftrack with flanking underscore/s. When this appears in AYON, it is without the flanking underscores. If the object is later renamed in ftrack, the name updates to match the new name exactly (ie, including any leading and trailing underscores present).

Initial sync:

image

image

After renaming:

image

image

Expected Behavior:

The folder or task name synced to AYON should be consistent across update scenarios. If underscores are deliberately stripped, then that should be consistent. Ideally, the name should be retained as written in FTrack (including underscores).

Version

1.0.0

What platform you are running on?

Windows, Linux / Ubuntu

Steps To Reproduce:

Create a folder or task on ftrack named with a leading and/or trailing underscore/s. Save and observe how it appears on the local AYON server.

We are using ayon-ftrack 1.2.0.

Are there any labels you wish to add?

Relevant log output:

No response

Additional context:

This is a test project to determine the robustness and limitations of the FTrack AYON integration. We would obviously love to see true syncing between AYON and FTrack to improve its suitability for tracking large ongoing productions.

Thank you!

iLLiCiTiT commented 1 month ago

I'm afraid that AYON does not allow this naming convention.

ryanzujic commented 1 month ago

Good to know, thank you. If the naming convention isn’t allowed, should renaming events be handled with the same cleanup steps so this can’t slip through?

iLLiCiTiT commented 1 month ago

I "think" you're partially right. Because it will change label but name is still without underscores.