added fixes of crashing sync to avalon event from develop to master

This commit is contained in:
iLLiCiTiT 2020-02-24 15:18:01 +01:00
parent 4ac4fae914
commit cf6f213a96

View file

@ -28,7 +28,7 @@ class SyncToAvalonEvent(BaseEvent):
ignore_entTypes = [
"socialfeed", "socialnotification", "note",
"assetversion", "job", "user", "reviewsessionobject", "timer",
"timelog", "auth_userrole", "appointment"
"timelog", "auth_userrole", "appointment", "notelabellink"
]
ignore_ent_types = ["Milestone"]
ignore_keys = ["statusid", "thumbid"]
@ -1545,6 +1545,14 @@ class SyncToAvalonEvent(BaseEvent):
entity_type_conf_ids[entity_type] = configuration_id
break
if not configuration_id:
self.log.warning(
"BUG REPORT: Missing configuration for `{} < {} >`".format(
entity_type, ent_info["entityType"]
)
)
continue
_entity_key = collections.OrderedDict({
"configuration_id": configuration_id,
"entity_id": ftrack_id