Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Ftrack: Unset task ids from asset versions before tasks are removed #2800

Merged
merged 2 commits into from
Feb 24, 2022

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Feb 23, 2022

Brief description

Ftrack delete action still crashes on CircularDependencyError. Seems that changes from this PR are not enough.

Description

It seems that the circular dependcy happens because is trying to delete asset versions that have relation to removed task.

Changes

  • unset task_id from AssetVersions that are related to tasks which are going to be removed

Test notes

  1. Try run ftrack Delete Asset/Subset action in ftrack on entities with tasks that have asset versions assigned

Note

Not sure if this will fix the issue. The error happens without more details, this is just a guess fix.

@mkolar
Copy link
Member

mkolar commented Feb 23, 2022

Task linked: OP-2737 Ftrack circular dependency error

@iLLiCiTiT iLLiCiTiT merged commit a9f2d6d into develop Feb 24, 2022
@iLLiCiTiT iLLiCiTiT deleted the bugfix/OP-2737_Ftrack-circular-dependency-error branch February 24, 2022 10:33
@mkolar mkolar added the type: bug Something isn't working label Mar 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
module: Ftrack type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants