-
Notifications
You must be signed in to change notification settings - Fork 12
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues and added correct labels.
Description
This function causes a recursion error because self can already contain _orig_data:
ayon-python-api/ayon_api/entity_hub.py
Line 1449 in ae71136
| def lock(self) -> None: |
It becomes problematic when called upon often like in the Shotgrid processor running a sync. For example I was importing an already existing Shotgrid project with tasks, comments and entities and it crashed after a while
We solved it with a quick patch removing the _orig_data before the deepcopy call but I'm sure there is a better way to properly fix this
Steps To Reproduce:
No response
Additional context:
Version
Version of the server, ayon-core and the addon that's affected
What platform were you running when you found the bug?
Windows
Linux - Rocky9
Linux - Ubuntu
MacOS
You can also provide any additional information relevant to the issue.