You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So it doesn't contain the shortName key
But that should be:
{'name': 'TestType', 'shortName': 'Test'}
This breaks the launcher:
Traceback (most recent call last):
File "C:\Users\joseph.henry\AppData\Local\Ynput\AYON\addons\core_0.4.3\ayon_core\tools\utils\lib.py", line 444, in run
self._result = self._callback()
File "C:\Users\joseph.henry\AppData\Local\Ynput\AYON\addons\core_0.4.3\ayon_core\tools\utils\tasks_widget.py", line 198, in _thread_getter
task_type_items = self._controller.get_task_type_items(
File "C:\Users\joseph.henry\AppData\Local\Ynput\AYON\addons\core_0.4.3\ayon_core\tools\launcher\control.py", line 68, in get_task_type_items
return self._projects_model.get_task_type_items(
File "C:\Users\joseph.henry\AppData\Local\Ynput\AYON\addons\core_0.4.3\ayon_core\tools\common_models\projects.py", line 357, in get_task_type_items
return self._get_project_items(
File "C:\Users\joseph.henry\AppData\Local\Ynput\AYON\addons\core_0.4.3\ayon_core\tools\common_models\projects.py", line 380, in _get_project_items
cache_value = getter(self.get_project_entity(project_name))
File "C:\Users\joseph.henry\AppData\Local\Ynput\AYON\addons\core_0.4.3\ayon_core\tools\common_models\projects.py", line 454, in _task_type_items_getter
return [
File "C:\Users\joseph.henry\AppData\Local\Ynput\AYON\addons\core_0.4.3\ayon_core\tools\common_models\projects.py", line 455, in <listcomp>
TaskTypeItem.from_project_item(task_type)
File "C:\Users\joseph.henry\AppData\Local\Ynput\AYON\addons\core_0.4.3\ayon_core\tools\common_models\projects.py", line 138, in from_project_item
short=task_type_data["shortName"],
KeyError: 'shortName'
Expected Behavior:
Syncing shouldn't break AYON.
Version
1.0.0
What platform you are running on?
Windows
Steps To Reproduce:
Created a new task type in Kitsu, added it to a newly created shot
Sync the project in Ayon admin interface
Open the launcher and click on a tree object
Are there any labels you wish to add?
I have added the relevant labels to the bug report.
Is there an existing issue for this?
Current Behavior:
It seems that new task types sync to AYON as:
So it doesn't contain the shortName key
But that should be:
This breaks the launcher:
Expected Behavior:
Syncing shouldn't break AYON.
Version
1.0.0
What platform you are running on?
Windows
Steps To Reproduce:
Are there any labels you wish to add?
Relevant log output:
No response
Additional context:
See discord discussion here https://discord.com/channels/517362899170230292/1278648431338065992
Note There also appears to be logic that makes the short name, however that logic would fail if the long name is shorter than four characters. Here:
ayon-kitsu/server/kitsu/push.py
Lines 458 to 469 in a049b3b
The text was updated successfully, but these errors were encountered: